Part Number Hot Search : 
SLA5023 H101CYDL 229J2G BS62L D1760 200CC 37220 1C101
Product Description
Full Text Search
 

To Download MC56F8257 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Freescale Semiconductor Technical Data
Document Number: MC56F825X Rev. 3, 04/2011
MC56F825x/MC56F824x
44-pin LQFP Case: 10 x 10 mm2 48-pin LQFP Case: 7 x 7 mm2
MC56F825x/MC56F824x Digital Signal Controller
The MC56F825x/MC56F824x is a member of the 56800E core-based family of digital signal controllers (DSCs). It combines, on a single chip, the processing power of a DSP and the functionality of a microcontroller with a flexible set of peripherals to create a cost-effective solution. Because of its low cost, configuration flexibility, and compact program code, it is well-suited for many applications. The MC56F825x/MC56F824x includes many peripherals that are especially useful for cost-sensitive applications, including: * Industrial control * Home appliances * Smart sensors * Fire and security systems * Solar inverters * Battery chargers and management * Switched-mode power supplies and power management * Power metering * Motor control (ACIM, BLDC, PMSM, SR, and stepper) * Handheld power tools * Arc detection * Medical devices/equipment * Instrumentation * Lighting ballast The 56800E core is based on a modified Harvard-style architecture consisting of three execution units operating in parallel, allowing as many as six operations per instruction cycle. The MCU-style programming model and optimized instruction set allow straightforward generation of efficient, compact DSP and control code. The instruction set is also highly efficient for C compilers to enable rapid development of optimized control applications. The MC56F825x/MC56F824x supports program execution from internal memories. Two data operands per instruction cycle can be accessed from the on-chip data RAM. A full set of programmable peripherals supports various applications. Each peripheral can be independently shut down to save power. Any pin, except Power pins and the Reset pin, can also be configured as General Purpose Input/Outputs (GPIOs).
64-pin LQFP Case: 10 x 10 mm2
On-chip features include: * 60 MHz operation frequency * DSP and MCU functionality in a unified, C-efficient architecture * On-chip memory - 56F8245/46: 48 KB (24K x 16) flash memory; 6 KB (3K x 16) unified data/program RAM - 56F8247: 48 KB (24K x 16) flash memory; 8 KB (4K x 16) unified data/program RAM - 56F8255/56/57: 64 KB (32K x 16) flash memory; 8 KB (4K x 16) unified data/program RAM * eFlexPWM with up to 9 channels, including 6 channels with high (520 ps) resolution NanoEdge placement * Two 8-channel, 12-bit analog-to-digital converters (ADCs) with dynamic x2 and x4 programmable amplifier, conversion time as short as 600 ns, and input current-injection protection * Three analog comparators with integrated 5-bit DAC references * Cyclic Redundancy Check (CRC) Generator * Two high-speed queued serial communication interface (QSCI) modules with LIN slave functionality * Queued serial peripheral interface (QSPI) module * Two SMBus-compatible inter-integrated circuit (I2C) ports * Freescale's scalable controller area network (MSCAN) 2.0 A/B module * Two 16-bit quad timers (2 x 4 16-bit timers) * Computer operating properly (COP) watchdog module * On-chip relaxation oscillator: 8 MHz (400 kHz at standby mode) * Crystal/resonator oscillator * Integrated power-on reset (POR) and low-voltage interrupt (LVI) and brown-out reset module * Inter-module crossbar connection * Up to 54 GPIOs * 44-pin LQFP, 48-pin LQFP, and 64-pin LQFP packages * Single supply: 3.0 V to 3.6 V
Freescale reserves the right to change the detail specifications as may be required to permit improvements in the design of its products. (c) Freescale Semiconductor, Inc., 2009-2011. All rights reserved.
Table of Contents
1 2 MC56F825x/MC56F824x Family Configuration . . . . . . . . . . . .3 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 2.1 MC56F825x/MC56F824x Features. . . . . . . . . . . . . . . . .4 2.2 Award-Winning Development Environment. . . . . . . . . . .8 2.3 Architecture Block Diagram. . . . . . . . . . . . . . . . . . . . . . .8 2.4 Product Documentation . . . . . . . . . . . . . . . . . . . . . . . .11 Signal/Connection Descriptions . . . . . . . . . . . . . . . . . . . . . . .11 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 3.2 Pin Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 3.3 MC56F825x/MC56F824x Signal Pins . . . . . . . . . . . . . .18 Memory Maps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 4.2 Program Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 4.3 Data Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 4.4 Interrupt Vector Table and Reset Vector . . . . . . . . . . . .33 4.5 Peripheral Memory-Mapped Registers . . . . . . . . . . . . .34 4.6 EOnCE Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . .35 General System Control Information . . . . . . . . . . . . . . . . . . .36 5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5.2 Power Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5.3 Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5.4 On-chip Clock Synthesis . . . . . . . . . . . . . . . . . . . . . . . .37 5.5 Interrupt Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 5.6 System Integration Module (SIM) . . . . . . . . . . . . . . . . .39 5.7 Inter-Module Connections. . . . . . . . . . . . . . . . . . . . . . .40 5.8 Joint Test Action Group (JTAG)/Enhanced On-Chip Emulator (EOnCE) . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 Security Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 6.1 Operation with Security Enabled. . . . . . . . . . . . . . . . . .46 6.2 Flash Access Lock and Unlock Mechanisms . . . . . . . .47 6.3 Product Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 7.1 General Characteristics . . . . . . . . . . . . . . . . . . . . . . . .48 7.2 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . .49 7.3 ESD Protection and Latch-up Immunity . . . . . . . . . . . .50 7.4 Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . .50 7.5 Recommended Operating Conditions . . . . . . . . . . . . . .52 7.6 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . 53 7.7 Supply Current Characteristics . . . . . . . . . . . . . . . . . . 55 7.8 Power-On Reset, Low Voltage Detection Specification 56 7.9 Voltage Regulator Specifications . . . . . . . . . . . . . . . . . 56 7.10 AC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . 56 7.11 Enhanced Flex PWM Characteristics . . . . . . . . . . . . . 57 7.12 Flash Memory Characteristics . . . . . . . . . . . . . . . . . . . 57 7.13 External Clock Operation Timing. . . . . . . . . . . . . . . . . 57 7.14 Phase Locked Loop Timing . . . . . . . . . . . . . . . . . . . . . 58 7.15 External Crystal or Resonator Requirement . . . . . . . . 59 7.16 Relaxation Oscillator Timing . . . . . . . . . . . . . . . . . . . . 59 7.17 Reset, Stop, Wait, Mode Select, and Interrupt Timing. 60 7.18 Queued Serial Peripheral Interface (SPI) Timing . . . . 60 7.19 Queued Serial Communication Interface (SCI) Timing 64 7.20 Freescale's Scalable Controller Area Network (MSCAN)65 7.21 Inter-Integrated Circuit Interface (I2C) Timing . . . . . . . 65 7.22 JTAG Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 7.23 Quad Timer Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 7.24 COP Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 7.25 Analog-to-Digital Converter (ADC) Parameters. . . . . . 68 7.26 Digital-to-Analog Converter (DAC) Parameters . . . . . . 70 7.27 5-Bit Digital-to-Analog Converter (DAC) Parameters. . 71 7.28 HSCMP Specifications . . . . . . . . . . . . . . . . . . . . . . . . 71 7.29 Optimize Power Consumption . . . . . . . . . . . . . . . . . . . 71 8 Design Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 8.1 Thermal Design Considerations . . . . . . . . . . . . . . . . . 72 8.2 Electrical Design Considerations. . . . . . . . . . . . . . . . . 73 9 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 10 Package Mechanical Outline Drawings . . . . . . . . . . . . . . . . . 76 10.1 44-pin LQFP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 10.2 48-pin LQFP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 10.3 64-pin LQFP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 11 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Appendix A Interrupt Vector Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
3
4
5
6
7
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 2 Freescale Semiconductor
MC56F825x/MC56F824x Family Configuration
1
MC56F825x/MC56F824x Family Configuration
Table 1. MC56F825x/MC56F824x Device Comparison
Feature 56F8245 56F8246 56F8247 56F8255 56F8256 56F8257 60 120 48 6 6 0 4 48 6 6 0 4 48 8 6 3 4 64 8 6 0 4 64 8 6 0 4 64 8 6 3 4
Table 1 compares the MC56F825x/MC56F824x devices.
Operation Frequency (MHz) High Speed Peripheral Clock (MHz) Flash memory size (KB) with 1024 words per page RAM size (KB) Enhanced High resolution NanoEdge PWM (520 ps res.) Flex PWM Enhanced Flex PWM with Input Capture (eFlexPWM) PWM Fault Inputs (from Crossbar Input) 12-bit ADC with x1, 2x, 4x Programmable Gain Analog comparators (ACMP) each with integrated 5-bit DAC 12-bit DAC Cyclic Redundancy Check (CRC) Inter-Integrated Circuit (I
2C)
2 x 4Ch 2 x 5Ch 2 x 8Ch 2 x 4Ch 2 x 5 Ch 2 x 8 Ch 3 1 Yes 2 1 2 0 1 8 Yes Yes Yes Yes Yes 6 2 6 2 39 6 6 54 Yes Yes -40 C to 105 C 44LQFP 48LQFP 64LQFP 44LQFP 48LQFP 64LQFP 6 2 35 6 2 39 6 6 54
/ SMBus
Queued Serial peripheral Interface (QSPI) High speed Queued Serial Communications Interface (QSCI)1 Controller Area Network (MSCAN) High Speed 16-bit multi-purpose timers (TMR)2
Computer operating properly (COP) watchdog timer Integrated Power-On Reset and low voltage detection Phase-locked loop (PLL) 8 MHz (400 kHz at standby mode) on-chip ROSC Crystal/resonator oscillator Crossbar Input pins Output pins General purpose I/O (GPIO)
3
35
IEEE 1149.1 Joint Test Action Group (JTAG) interface Enhanced on-chip emulator (EOnCE) Operating temperature range Package
1 2
Can be clocked by high speed peripheral clock up to 120 MHz Can be clocked by high speed peripheral clock up to 120 MHz 3 Shared with other function pins
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 3
Overview
2
2.1
2.1.1
*
Overview
MC56F825x/MC56F824x Features
Core
Efficient 56800E digital signal processor (DSP) engine with modified Harvard architecture -- Three internal address buses -- Four internal data buses As many as 60 million instructions per second (MIPS) at 60 MHz core frequency 155 basic instructions in conjunction with up to 20 address modes 32-bit internal primary data buses supporting 8-bit, 16-bit, and 32-bit data movement, addition, subtraction, and logical operation Single-cycle 16 x 16-bit parallel multiplier-accumulator (MAC) Four 36-bit accumulators, including extension bits 32-bit arithmetic and logic multi-bit shifter Parallel instruction set with unique DSP addressing modes Hardware DO and REP loops Instruction set supports DSP and controller functions Controller-style addressing modes and instructions for compact code Efficient C compiler and local variable support Software subroutine and interrupt stack with depth limited only by memory JTAG/enhanced on-chip emulation (EOnCE) for unobtrusive, processor speed-independent, real-time debugging
* * * * * * * * * * * * *
2.1.2
* * *
Operation Range
3.0 V to 3.6 V operation (power supplies and I/O) From power-on-reset: approximately 2.7 V to 3.6 V Ambient temperature operating range: -40 C to +105 C
2.1.3
* * * * * *
Memory
Dual Harvard architecture that permits as many as three simultaneous accesses to program and data memory 48 KB (24K x 16) to 64 KB (32K x 16) on-chip flash memory with 2048 bytes (1024 x 16) page size 6 KB (3K x 16) to 8 KB (4K x 16) on-chip RAM with byte addressable EEPROM emulation capability using flash Support for 60 MHz program execution from both internal flash and RAM memories Flash security and protection that prevent unauthorized users from gaining access to the internal flash
2.1.4
*
Interrupt Controller
Five interrupt priority levels -- Three user programmable priority levels for each interrupt source: Level 0, 1, 2 -- Unmaskable level 3 interrupts include: illegal instruction, hardware stack overflow, misaligned data access, and SWI3 instruction -- Maskable level 3 interrupts include: EOnCE step counter, EOnCE breakpoint unit, and EOnCE trace buffer
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3
4
Freescale Semiconductor
Overview
* * * *
-- Lowest-priority software interrupt: level LP Nested interrupts: higher priority level interrupt request can interrupt lower priority interrupt subroutine Two programmable fast interrupts that can be assigned to any interrupt source Notification to system integration module (SIM) to restart clock out of wait and stop states Ability to relocate interrupt vector table
The masking of interrupt priority level is managed by the 56800E core.
2.1.5
*
Peripheral Highlights
One Enhanced Flex Pulse Width Modulator (eFlexPWM) module -- Up to nine output channels -- 16-bit resolution for center aligned, edge aligned, and asymmetrical PWMs -- Each complementary pair can operate with its own PWM frequency based and deadtime values - 4 Time base - Independent top and bottom deadtime insertion -- PWM outputs can operate as complimentary pairs or independent channels -- Independent control of both edges of each PWM output -- 6-channel NanoEdge high resolution PWM - Fractional delay for enhanced resolution of the PWM period and edge placement - Arbitrary eFlexPWM edge placement - PWM phase shifting - NanoEdge implementation: 520 ps PWM frequency resolution -- 3 Channel PWM with full Input Capture features - Three PWM Channels - PWMA, PWMB, and PWMX - Enhanced input capture functionality -- Support for synchronization to external hardware or other PWM -- Double buffered PWM registers - Integral reload rates from 1 to 16 - Half cycle reload capability -- Multiple output trigger events can be generated per PWM cycle via hardware -- Support for double switching PWM outputs -- Up to four fault inputs can be assigned to control multiple PWM outputs - Programmable filters for fault inputs -- Independently programmable PWM output polarity -- Individual software control for each PWM output -- All outputs can be programmed to change simultaneously via a FORCE_OUT event -- PWMX pin can optionally output a third PWM signal from each submodule -- Channels not used for PWM generation can be used for buffered output compare functions -- Channels not used for PWM generation can be used for input capture functions -- Enhanced dual edge capture functionality -- Option to supply the source for each complementary PWM signal pair from any of the following: - Crossbar module outputs - External ADC input, taking into account values set in ADC high and low limit registers Two independent 12-bit analog-to-digital converters (ADCs) -- 2 x 8 channel external inputs -- Built-in x1, x2, x4 programmable gain pre-amplifier
*
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 5
Overview
*
*
*
*
*
*
-- Maximum ADC clock frequency: up to 10 MHz - Single conversion time of 8.5 ADC clock cycles (8.5 x 100 ns = 850 ns) - Additional conversion time of 6-ADC clock cycles (6 x 100 ns = 600 ns) -- Sequential, parallel, and independent scan mode -- First 8 samples have Offset, Limit and Zero-crossing calculation supported -- ADC conversions can be synchronized by eFlexPWM and timer modules via internal crossbar module -- Support for simultaneous and software triggering conversions -- Support for multi-triggering mode with a programmable number of conversions on each trigger Inter-module Crossbar Switch (XBAR) -- Programmable internal module connections among the eFlexPWM, ADCs, Quad Timers, 12-bit DAC, HSCMPs, and package pins -- User-defined input/output pins for PWM fault inputs, Timer input/output, ADC triggers, and Comparator outputs Three analog comparators (CMPs) -- Selectable input source includes external pins, internal DACs -- Programmable output polarity -- Output can drive timer input, eFlexPWM fault input, eFlexPWM source, external pin output, and trigger ADCs -- Output falling and rising edge detection able to generate interrupts -- 32-tap programmable voltage reference per comparator One 12-bit digital-to-analog converter (12-bit DAC) -- 12-bit resolution -- Power down mode -- Output can be routed to internal comparator, or off chip Two four-channel 16-bit multi-purpose timer (TMR) modules -- Four independent 16-bit counter/timers with cascading capability per module -- Up to 120 MHz operating clock -- Each timer has capture and compare and quadrature decoder capability -- Up to 12 operating modes -- Four external inputs and two external outputs Two queued serial communication interface (QSCI) modules with LIN slave functionality -- Up to 120 MHz operating clock -- Four-byte-deep FIFOs available on both transmit and receive buffers -- Full-duplex or single-wire operation -- Programmable 8- or 9-bit data format -- 13-bit integer and 3-bit fractional baud rate selection -- Two receiver wakeup methods: - Idle line - Address mark -- 1/16 bit-time noise detection -- Support LIN slave operation One queued serial peripheral interface (QSPI) module -- Full-duplex operation -- Four-word deep FIFOs available on both transmit and receive buffers -- Master and slave modes -- Programmable length transactions (2 to 16 bits) -- Programmable transmit and receive shift order (MSB as first or last bit transmitted)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 6 Freescale Semiconductor
Overview
*
*
*
*
*
*
*
-- Maximum slave module frequency = module clock frequency/2 -- 13-bit baud rate divider for low speed communication Two inter-integrated circuit (I2C) ports -- Operation at up to 100 kbps -- Support for master and slave operation -- Support for 10-bit address mode and broadcasting mode -- Support for SMBus, Version 2 One Freescale Scalable Controller Area Network (MSCAN) module -- Fully compliant with CAN protocol Version 2.0 A/B -- Support for standard and extended data frames -- Support for data rate up to 1 Mbit/s -- Five receive buffers and three transmit buffers Computer operating properly (COP) watchdog timer capable of selecting different clock sources -- Programmable prescaler and timeout period -- Programmable wait, stop, and partial powerdown mode operation -- Causes loss of reference reset 128 cycles after loss of reference clock to the PLL is detected -- Choice of clock sources from four sources in support of EN60730 and IEC61508: - On-chip relaxation oscillator - External crystal oscillator/external clock source - System clock (IP bus to 60 MHz) Power supervisor (PS) -- On-chip linear regulator for digital and analog circuitry to lower cost and reduce noise -- Integrated low voltage detection to generate warning interrupt if VDD is below low voltage detection (LVI) threshold -- Integrated power-on reset (POR) - Reliable reset process during power-on procedure - POR is released after VDD passes low voltage detection (LVI) threshold -- Integrated brown-out reset -- Run, wait, and stop modes Phase lock loop (PLL) providing a high-speed clock to the core and peripherals -- 2x system clock provided to Quad Timers and SCIs -- Loss of lock interrupt -- Loss of reference clock interrupt Clock sources -- On-chip relaxation oscillator with two user selectable frequencies: 400 kHz for low speed mode, 8 MHz for normal operation -- External clock: crystal oscillator, ceramic resonator, and external clock source Cyclic Redundancy Check (CRC) Generator -- Hardware CRC generator circuit using 16-bit shift register -- CRC16-CCITT compliancy with x16 + x12 + x5 + 1 polynomial -- Error detection for all single, double, odd, and most multi-bit errors -- Programmable initial seed value -- High-speed hardware CRC calculation -- Optional feature to transpose input data and CRC result via transpose register, required on applications where bytes are in LSb (Least Significant bit) format.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 7
Overview
*
*
Up to 54 general-purpose I/O (GPIO) pins -- 5 V tolerant I/O -- Individual control for each pin to be in peripheral or GPIO mode -- Individual input/output direction control for each pin in GPIO mode -- Individual control for each output pin to be in push-pull mode or open-drain mode -- Hysteresis and configurable pullup device on all input pins -- Ability to generate interrupt with programmable rising or falling edge and software interrupt -- Configurable drive strength: 4 mA / 8 mA sink/source current JTAG/EOnCE debug programming interface for real-time debugging -- IEEE 1149.1 Joint Test Action Group (JTAG) interface -- EOnCE interface for real-time debugging
2.1.6
* * * *
Power Saving Features
Low-speed run, wait, and stop modes: as low as 781 Hz clock provided by OCCS and internal ROSC Large regulator standby mode available for reducing power consumption at low-speed mode Less than 30 s typical wakeup time from stop modes Each peripheral can be individually disabled to save power
2.2
Award-Winning Development Environment
Processor Expert (PE) provides a Rapid Application Design (RAD) tool that combines easy-to-use component-based software application creation with an expert knowledge system. The CodeWarrior Integrated Development Environment (IDE) is a sophisticated tool for code navigation, compiling, and debugging. A complete set of evaluation modules (EVMs), demonstration board kit, and development system cards supports concurrent engineering. Together, PE, CodeWarrior, and EVMs create a complete, scalable tools solution for easy, fast, and efficient development.
2.3
Architecture Block Diagram
The MC56F825x/MC56F824x's architecture appears in Figure 1 and Figure 2. Figure 1 illustrates how the 56800E system buses communicate with internal memories and the IP bus interface as well as the internal connections among the units of the 56800E core.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 8 Freescale Semiconductor
Overview
DSP56800E Core Program Control Unit PC LA LA2 HWS0 HWS1 FIRA OMR SR LC LC2 FISR Instruction Decoder Interrupt Unit Looping Unit Address Generation Unit (AGU) M01 N3 ALU1 ALU2
R0 R1 R2 R3 R4 R5 N SP XAB1 XAB2 PAB PDB CDBW CDBR XDB2 Data/ Program RAM Program Memory
BitManipulation Unit Enhanced OnCETM Y
A2 B2 C2 D2
A1 B1 C1 D1 Y1 Y0 X0
A0 B0 C0 D0 Data Arithmetic Logic Unit (ALU) Multi-Bit Shifter
IP Bus Interface
JTAG TAP
MAC and ALU
Figure 1. 56800E Core Block Diagram Figure 2 shows the peripherals and control blocks connected to the IP bus bridge. Refer to the system integration module (SIM) section in the device's reference manual for information about which signals are multiplexed with those of other peripherals.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 9
Overview
Figure 2. Peripheral Subsystem
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 10 Freescale Semiconductor
Signal/Connection Descriptions
2.4
Product Documentation
The documents listed in Table 2 are required for a complete description and proper design with the MC56F825x/MC56F824x. Documentation is available from local Freescale distributors, Freescale Semiconductor sales offices, Freescale Literature Distribution Centers, or online at http://www.freescale.com. Table 2. MC56F825x/MC56F824x Device Documentation
Topic DSP56800E Reference Manual MC56F825x Reference Manual MC56F824x/5x Serial Bootloader User Guide MC56F825x Technical Data Sheet MC56F825x Errata Description Order Number
Detailed description of the 56800E family architecture, 16-bit digital DSP56800ERM signal controller core processor, and the instruction set Detailed description of peripherals of the MC56F825x/MC56F824x devices MC56F825XRM
Detailed description of the Serial Bootloader in the 56F800x family of TBD devices Electrical and timing specifications, pin descriptions, and package descriptions (this document) Detailed description of any chip issues that might be present MC56F825X MC56F825XE
3
3.1
Signal/Connection Descriptions
Introduction
Table 3. Functional Group Pin Allocations
Functional Group Number of Pins Number of Pins Number of Pins in 44 LQFP in 48 LQFP in 64 LQFP 5 4 1
1
The input and output signals of the MC56F825x/MC56F824x are organized into functional groups, as detailed in Table 3.
Power inputs (VDD, VDDA, VCAP) Ground (VSS, VSSA) Reset1 Enhanced Flex Pulse Width Modulator (eFlexPWM) ports Queued Serial Peripheral Interface (SPI) ports1 Queued Serial Communications Interface 0&1 (QSCI0 & QSCI1) Inter-Integrated Circuit Interface 0&1 (I
2C0 1
5 4 1 6 4 6 4 10 12 1 5 2 12 4 4
6 4 1 9 4 9 6 16 15 1 8 2 17 4 4
6 4 ports1 6 4 8 11 1 5 2 10 3
&
I2C0)
ports1
Analog-to-Digital Converter (ADC) inputs
High Speed Analog Comparator inputs/outputs1 12-bit Digital-to-Analog Converter (DAC_12B) output Quad Timer Module (TMRA & TMRB) ports
1
Freescale's Scalable Controller-Area-Network (MSCAN)1, 2 Inter-Module Cross Bar package inputs/outputs1 Clock1 JTAG/Enhanced On-Chip Emulation (EOnCE)
1
4
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 11
Signal/Connection Descriptions
1 2
Pins may be shared with other peripherals. See Table 4. Exclude MC56F824x.
Table 4 summarizes all device pins. Each table row describes the signal or signals present on a pin, sorted by pin number. Peripheral pins in bold identify reset state. Table 4. MC56F825x/MC56F824x Pins
Pin Number 48 64 44 LQFP LQFP LQFP 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 6 6 7 6 7 7 8 9 10 11 8 8 9 10 11 9 10 11 12 12 13 14 15 16 17 12 13 18 19 20 14 13 14 15 16 17 18 15 16 17 18 19 20 21 22 23 24 25 26 27 Pin Name GPIO TCK/GPIOD2 RESET / GPIOD4 GPIOC0/XTAL/CLKIN GPIOC1/EXTAL GPIOC2/TXD0/TB0/XB_IN2/ CLKO GPIOF8/RXD0/TB1 GPIOD2 GPIOD4 GPIOC0 GPIOC1 GPIOC2 GPIOF8 TXD0 RXD0 RXD0 CMPA_O CMPB_O ANA7 ANA6 ANA5 ANA4 ANA0 ANA1 ANA2& VREFHA ANA3& VREFLA ANB7 XB_IN7 ANB6 ANB5 ANB4 CMPB_M1 CMPC_M2 CMPC_M1 VDDA VSSA GPIOB0 GPIOB1 ANB0 ANB1 CMPB_P2 CMPB_M0 VCAP GPIOB2 ANB2& VREFHB CMPC_P2 CMPA_P2/ CMPC_O CMPA_M0 CMPA_M1 CMPA_M2 CMPB_M2 DACO XB_IN2 TB0 TB1 TA0 TA1 I2C SCI SPI MS CAN1 ADC Peripherals Cross Bar COMP Quad Timer eFlex PWM Power JTAG Misc. TCK RESET XTAL/ CLKIN EXTAL CLKO
GPIOC3/TA0/CMPA_O/RXD0 GPIOC3 GPIOC4/TA1/CMPB_O GPIOA7/ANA7 GPIOA6/ANA6 GPIOA5/ANA5 GPIOA4/ANA4 GPIOA0/ANA0& CMPA_P2/CMPC_O GPIOA1/ ANA1&CMPA_M0 GPIOA2/ANA2&VREFHA& CMPA_M1 GPIOA3/ANA3&VREFLA& CMPA_M2 GPIOB7/ANB7&CMPB_M2 GPIOC5/DACO/XB_IN7 GPIOB6/ANB6&CMPB_M1 GPIOB5/ANB5&CMPC_M2 GPIOB4/ANB4&CMPC_M1 VDDA VSSA GPIOB0/ ANB0&CMPB_P2 GPIOB1/ ANB1&CMPB_M0 VCAP GPIOB2/ ANB2&VREFHB&CMPC_P2 GPIOC4 GPIOA7 GPIOA6 GPIOA5 GPIOA4 GPIOA0 GPIOA1 GPIOA2 GPIOA3 GPIOB7 GPIOC5 GPIOB6 GPIOB5 GPIOB4
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 12 Freescale Semiconductor
Signal/Connection Descriptions
Table 4. MC56F825x/MC56F824x Pins (continued)
Pin Number 48 64 44 LQFP LQFP LQFP 19 21 28 29 20 21 22 23 24 25 22 23 24 25 26 27 28 26 27 29 30 30 31 32 33 34 35 36 37 38 39 40 41 42 28 29 30 31 32 33 34 31 32 33 34 35 36 37 38 35 36 39 40 43 44 45 46 47 48 49 50 51 52 53 54 37 38 39 41 42 43 55 56 57 58 59 40 44 60 Pin Name GPIO GPIOB3/ ANB3&VREFLB&CMPC_M0 VDD VSS GPIOC6/TA2/XB_IN3/ CMP_REF GPIOC7/SS/TXD0 GPIOC8/MISO/RXD0 GPIOC9/SCLK/XB_IN4 GPIOC6 GPIOC7 GPIOC8 GPIOC9 TXD0 SS XB_IN3 CMP_REF TA2 GPIOB3 I2C SCI SPI MS CAN1 ADC ANB3& VREFLB Peripherals Cross Bar COMP CMPC_M0 VDD VSS Quad Timer eFlex PWM Power JTAG Misc.
RXD0 MISO SCLK MOSI/ MISO XB_IN4 XB_IN5 XB_IN6 CANTX CANRX XB_OUT2 XB_OUT3 TXD1 RXD1 XB_OUT4 XB_OUT5 VSS VDD
GPIOC10/MOSI/XB_IN5/MISO GPIOC10 GPIOF0/XB_IN6 GPIOF0
GPIOC11/CANTX/SCL1/TXD1 GPIOC11 SCL1 TXD1 GPIOC12/CANRX/SDA1/RXD1 GPIOC12 SDA1 RXD1 GPIOF2/SCL1/XB_OUT2 GPIOF3/SDA1/XB_OUT3 GPIOF4/TXD1/XB_OUT4 GPIOF5/RXD1/XB_OUT5 VSS VDD GPIOE0/PWM0B GPIOE1/PWM0A GPIOE2/PWM1B GPIOE3/PWM1A GPIOC13/TA3/XB_IN6 GPIOF1/CLKO/XB_IN7 GPIOE4/PWM2B/XB_IN2 GPIOE5/PWM2A/XB_IN3 GPIOE6/PWM3B/XB_IN4 GPIOE7/PWM3A/XB_IN5 GPIOC14/SDA0/XB_OUT0 GPIOC15/SCL0/XB_OUT1 VCAP GPIOF6/TB2/PWM3X GPIOF7/TB3 VDD GPIOF6 GPIOF7 GPIOE0 GPIOE1 GPIOE2 GPIOE3 GPIOC13 GPIOF1 GPIOE4 GPIOE5 GPIOE6 GPIOE7 GPIOC14 SDA0 GPIOC15 SCL0 GPIOF2 SCL1 GPIOF3 SDA1 GPIOF4 GPIOF5
PWM0B PWM0A PWM1B PWM1A XB_IN6 XB_IN7 XB_IN2 XB_IN3 XB_IN4 XB_IN5 XB_OUT0 XB_OUT1 VCAP TB2 TB3 VDD PWM3X PWM2B PWM2A PWM3B PWM3A TA3 CLKO
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 13
Signal/Connection Descriptions
Table 4. MC56F825x/MC56F824x Pins (continued)
Pin Number 48 64 44 LQFP LQFP LQFP 41 42 43 44 45 46 47 48 61 62 63 64 Pin Name GPIO VSS TDO/GPIOD1 TMS/GPIOD3 TDI/GPIOD0 GPIOD1 GIPOD3 GPIOD0 I2C SCI SPI MS CAN1 ADC Peripherals Cross Bar COMP Quad Timer eFlex PWM Power JTAG Misc. VSS TDO TMS TDI
1
The MSCAN module is not available on the MC56F824x devices.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 14 Freescale Semiconductor
Signal/Connection Descriptions
3.2
Pin Assignment
Figure 3 shows the pin assignments of the 56F8245 and 56F8255's 44-pin low-profile quad flat pack (44LQFP). Figure 4 shows the pin assignments of the 56F8246 and 56F8256's 48-pin low-profile quad flat pack (48LQFP). Figure 5 shows the pin assignments of the 56F8247 and 56F8257's 64-pin low-profile quad flat pack (64LQFP).
NOTE
The CANRX and CANTX signals of the MSCAN module are not available on the MC56F824x devices.
GPIOD2/TCK GPIOD4/RESET GPIOC0/XTAL/CLKIN GPIOC1/EXTAL GPIOC2/TXD0/TB0/XB_IN2/CLKO GPIOC3/TA0/CMPA_O/RXD0 GPIOC4/TA1/CMPB_O GPIOA0/ANA0/CMPA_P2/CMPC_O GPIOA1/ANA1/CMPA_M0 GPIOA2/ANA2/VREFHA/CMPA_M1 GPIOA3/ANA3/VREFLA/CMPA_M2
1 2 3 4 5 6 7 8 9 10 11
44 43 42 41 40 39 38 37 36 35 34
GPIOD0/TDI GPIOD3/TMS GPIOD1/TDO VSS VDD VCAP GPIOC15/SCL0/XB_OUT1 GPIOC14/SDA0/XB_OUT0 GPIOE5/PWM2A/XB_IN3 GPIOE4/PWM2B/XB_IN2 GPIOC13/TA3/XB_IN6
33 32 31 30 29 28 27 26 25 24 23
GPIOE3/PWM1A GPIOE2/PWM1B GPIOE1/PWM0A GPIOE0/PWM0B VDD VSS GPIOC12/CANRX0/SDA1/RXD1 GPIOC11/CANTX0/SCL1/TXD1 GPIOC10/MOSI/XB_IN5/MISO GPIOC9/SCLK/XB_IN4 GPIOC8/MISO/RXD0
Figure 3. Top View: 56F8245 and 56F8255 44-Pin LQFP Package
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 15
GPIOC5/DACO/XB_IN7 VDDA VSSA GPIOB0/ANB0/CMPB_P2 GPIOB1/ANB1/CMPB_M0 VCAP GPIOB2/ANB2/VREFHB/CMPC_P2 GPIOB3/ANB3/VREFLB/CMPC_M0 VSS GPIOC6/TA2/XB_IN3/CMP_REF GPIOC7/SS/TXD0
12 13 14 15 16 17 18 19 20 21 22
Signal/Connection Descriptions
Figure 4. Top View: 56F8246 and 56F8256 48-Pin LQFP Package
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 16 Freescale Semiconductor
GPIOC5/DACO/XB_IN7 GPIOB4/ANB4/CMPC_M1 VDDA VSSA GPIOB0/ANB0/CMPB_P2 GPIOB1/ANB1/CMPB_M0 VCAP GPIOB2/ANB2/VREFHB/CMPC_P2 GPIOB3/ANB3/VREFLB/CMPC_M0 VSS GPIOC6/TA2/XB_IN3/CMP_REF GPIOC7/SS/TXD0
13 14 15 16 17 18 19 20 21 22 23 24
GPIOD2/TCK GPIOD4/RESET GPIOC0/XTAL/CLKIN GPIOC1/EXTAL GPIOC2/TXD0/TB0/XB_IN2/CLKO GPIOC3/TA0/CMPA_O/RXD0 GPIOC4/TA1/CMPB_O GPIOA4/ANA4 GPIOA0/ANA0/CMPA_P2/CMPC_O GPIOA1/ANA1/CMPA_M0 GPIOA2/ANA2/VREFHA/CMPA_M1 GPIOA3/ANA3/VREFLA/CMPA_M2
1 2 3 4 5 6 7 8 9 10 11 12
48 47 46 45 44 43 42 41 40 39 38 37
GPIOD0/TDI GPIOD3/TMS GPIOD1/TDO VSS VDD VCAP GPIOC15/SCL0/XB_OUT1 GPIOC14/SDA0/XB_OUT0 GPIOE5/PWM2A/XB_IN3 GPIOE4/PWM2B/XB_IN2 GPIOF1/CLKO/XB_IN7 GPIOC13/TA3/XB_IN6 36 35 34 33 32 31 30 29 28 27 26 25
GPIOE3/PWM1A GPIOE2/PWM1B GPIOE1/PWM0A GPIOE0/PWM0B VDD VSS GPIOC12/CANRX0/SDA1/RXD1 GPIOC11/CANTX0/SCL1/TXD1 GPIOF0/XB_IN6 GPIOC10/MOSI/XB_IN5/MISO GPIOC9/SCLK/XB_IN4 GPIOC8/MISO/RXD0
Signal/Connection Descriptions
GPIOD2/TCK GPIOD4/RESET GPIOC0/XTAL/CLKIN GPIOC1/EXTAL GPIOC2/TXD0/TB0/XB_IN2/CLKO GPIOF8/RXD0/TB1 GPIOC3/TA0/CMPA_O/RXD0 GPIOC4/TA1/CMPB_O GPIOA7/ANA7 GPIOA6/ANA6 GPIOA5/ANA5 GPIOA4/ANA4 GPIOA0/ANA0/CMPA_P2/CMPC_O GPIOA1/ANA1/CMPA_M0 GPIOA2/ANA2/VREFHA/CMPA_M1 GPIOA3/ANA3/VREFLA/CMPA_M2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
GPIOD0/TDI GPIOD3/TMS GPIOD1/TDO VSS VDD GPIOF7/TB3 GPIOF6/TB2/PWM3X VCAP GPIOC15/SCL0/XB_OUT1 GPIOC14/SDA0/XB_OUT0 GPIOE7/PWM3A/XB_IN5 GPIOE6/PWM3B/XB_IN4 GPIOE5/PWM2A/XB_IN3 GPIOE4/PWM2B/XB_IN2 GPIOF1/CLKO/XB_IN7 GPIOC13/TA3/XB_IN6 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
GPIOE3/PWM1A GPIOE2/PWM1B GPIOE1/PWM0A GPIOE0/PWM0B VDD VSS GPIOF5/RXD1/XB_OUT5 GPIOF4/TXD1/XB_OUT4 GPIOF3/SDA1/XB_OUT3 GPIOF2/SCL1/XB_OUT2 GPIOC12/CANRX/SDA1/RXD1 GPIOC11/CANTX/SCL1/TXD1 GPIOF0/XB_IN6 GPIOC10/MOSI/XB_IN5/MISO GPIOC9/SCLK/XB_IN4 GPIOC8/MISO/RXD0
Figure 5. Top View: 56F8247 and 56F8257 64-Pin LQFP Package
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 17
GPIOB7/ANB7/CMPB_M2 GPIOC5/DACO/XB_IN7 GPIOB6/ANB6/CMPB_M1 GPIOB5/ANB5/CMPC_M2 GPIOB4/ANB4/CMPC_M1 VDDA VSSA GPIOB0/ANB0/CMPB_P2 GPIOB1/ANB1/CMPB_M0 VCAP GPIOB2/ANB2/VREFHB/CMPC_P2 GPIOB3/ANB3/VREFLB/CMPC_M0 VDD VSS GPIOC6/TA2/XB_IN3/CMP_REF GPIOC7/SS/TXD0
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Signal/Connection Descriptions
3.3
MC56F825x/MC56F824x Signal Pins
After reset, each pin is configured for its primary function (listed first). Any alternative functionality, shown in parentheses and as italic, must be programmed via the GPIO module's peripheral enable registers (GPIO_x_PER) and the SIM module's GPIO peripheral select (GPSx) registers. Table 5. MC56F825x/MC56F824x Signal and Package Information
Signal Name VDD VDD VDD VSS VSS VSS VDDA VSSA VCAP VCAP 29 40 20 28 41 13 14 17 39 32 44 22 31 45 15 16 19 43 44 48 64 LQFP LQFP LQFP 29 44 60 30 43 61 22 23 26 57 Supply Supply Supply Supply Supply Supply Analog Power -- This pin supplies 3.3 V power to the analog modules. It must be connected to a clean analog power supply. Analog Ground -- This pin supplies an analog ground to the analog modules. It must be connected to a clean power supply. VCAP -- Connect a bypass capacitor of 2.2 F or greater between this pin and VSS to stabilize the core voltage regulator output required for proper device operation. See Section 8.2, "Electrical Design Considerations," on page 73. Test Data Input -- This input pin provides a serial input data stream to the JTAG/EOnCE port. It is sampled on the rising edge of TCK and has an on-chip pullup resistor. Port D GPIO -- This GPIO pin can be individually programmed as an input or output pin. After reset, the default state is TDI. TDO 42 46 62 Output Output Test Data Output -- This tri-stateable output pin provides a serial output data stream from the JTAG/EOnCE port. It is driven in the shift-IR and shift-DR controller states, and changes on the falling edge of TCK. Port D GPIO -- This GPIO pin can be individually programmed as an input or output pin. After reset, the default state is TDO. TCK 1 1 1 Input Input, internal pullup enabled Test Clock Input -- This input pin provides a gated clock to synchronize the test logic and shift serial data to the JTAG/EOnCE port. The pin is connected internally to a pullup resistor. A Schmitt-trigger input is used for noise immunity. Port D GPIO -- This GPIO pin can be individually programmed as an input or output pin. After reset, the default state is TCK Supply Supply I/O Ground -- These pins provide ground for chip I/O interface. Type Supply State During Reset Supply Signal Description I/O Power -- This pin supplies 3.3 V power to the chip I/O interface.
TDI
44
48
64
Input
Input, internal pullup enabled
(GPIOD0)
Input/ Output
(GPIOD1)
Input/ Output
(GPIOD2)
Input/ Output
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 18 Freescale Semiconductor
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name TMS 44 48 64 LQFP LQFP LQFP 43 47 63 Type input State During Reset Input, internal pullup enabled Signal Description Test Mode Select Input -- This input pin is used to sequence the JTAG TAP controller's state machine. It is sampled on the rising edge of TCK and has an on-chip pullup resistor. Port D GPIO -- This GPIO pin can be individually programmed as an input or output pin. After reset, the default state is TMS Note: Always tie the TMS pin to VDD through a 2.2K resistor if need to keep on-board debug capability. Otherwise directly tie to VDD RESET 2 2 2 Input Input, internal pullup enabled Reset -- This input is a direct hardware reset on the processor. When RESET is asserted low, the device is initialized and placed in the reset state. A Schmitt-trigger input is used for noise immunity. The internal reset signal is deasserted synchronous with the internal clocks after a fixed number of internal clocks. Port D GPIO -- This GPIO pin can be individually programmed as an input or open-drain output pin.If RESET functionality is disabled in this mode and the chip can be reset only via POR, COP reset, or software reset. After reset, the default state is RESET. GPIOA0 8 9 13 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA0 and CMPA_P2 -- Analog input to channel 0 of ADCA and positive input 2 of analog comparator A. CMPC_O-- Analog comparator C output When used as an analog input, the signal goes to the ANA0 and CMPA_P2. After reset, the default state is GPIOA0. GPIOA1 9 10 14 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA1 and CMPA_M0 -- Analog input to channel 1of ADCA and negative input 0 of analog comparator A. When used as an analog input, the signal goes to the ANA1 and CMPA_M0. After reset, the default state is GPIOA1.
(GPIOD3)
Input/ Output
(GPIOD4)
Input/ Open-drain Output
(ANA0& CMPA_P2) (CMPC_O)
Output
(ANA1& CMPA_M0)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 19
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOA2 44 48 64 LQFP LQFP LQFP 10 11 15 Type Input/ Output Input State During Reset Input, internal pullup enabled Signal Description Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA2 and VREFHA and CMPA_M1 -- Analog input to channel 2 of ADCA and analog references high of ADCA and negative input 1 of analog comparator A. When used as an analog input, the signal goes to ANA2 and VREFHA and CMPA_M1. ADC control register configures this input as ANA2 or VREFHA. After reset, the default state is GPIOA2. GPIOA3 11 12 16 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA3 and VREFLA and CMPA_M2 -- Analog input to channel 3 of ADCA and analog references low of ADCA and negative input 2 of analog comparator A. When used as an analog input, the signal goes to ANA3 and VREFLA and CMPA_M2. ADC control register configures this input as ANA3 or VREFLA. After reset, the default state is GPIOA3. GPIOA4 8 12 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA4 -- Analog input to channel 4 of ADCA. After reset, the default state is GPIOA4. GPIOA5 11 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA5 -- Analog input to channel 5 of ADCA. After reset, the default state is GPIOA5. GPIOA6 10 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA6 -- Analog input to channel 5 of ADCA. After reset, the default state is GPIOA6. GPIOA7 9 Input/ Output Input Input, internal pullup enabled Port A GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANA7 -- Analog input to channel 7 of ADCA. After reset, the default state is GPIOA7.
(ANA2& VREFHA& CMPA_M1)
(ANA3& VREFLA& CMPA_M2)
(ANA4)
(ANA5)
(ANA6)
(ANA7)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 20 Freescale Semiconductor
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOB0 44 48 64 LQFP LQFP LQFP 15 17 24 Type Input/ Output Input State During Reset Input, internal pullup enabled Signal Description Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB0 and CMPB_P2 -- Analog input to channel 0 of ADCB and positive input 2 of analog comparator B. When used as an analog input, the signal goes to ANB0 and CMPB_P2. After reset, the default state is GPIOB0. GPIOB1 16 18 25 Input/ Output Input Input, internal pullup enabled Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB1 and CMPB_M0-- Analog input to channel 1 of ADCB and negative input 0 of analog comparator B. When used as an analog input, the signal goes to ANB1 and CMPB_M0. After reset, the default state is GPIOB1. GPIOB2 18 20 27 Input/ Output Input Input, internal pullup enabled Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB2 and VREFHB and CMPC_P2 -- Analog input to channel 2 of ADCB and analog references high of ADCB and positive input 2 of analog comparator C. When used as an analog input, the signal goes to ANB2 and VREFHB and CMPC_P2. ADC control register configures this input as ANB2 or VREFHB. After reset, the default state is GPIOB2. GPIOB3 19 21 28 Input/ Output Input Input, internal pullup enabled Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB3 and VREFLB and CMPC_M0 -- Analog input to channel 3 of ADCB and analog references low of ADCB and negative input 0 of analog comparator C. When used as an analog input, the signal goes to ANB3 and VREFLB and MPC_M0. ADC control register configures this input as ANB3 or VREFLB. After reset, the default state is GPIOB3.
(ANB0& CMPB_P2)
(ANB1& CMPB_M0)
(ANB2& VREFHB& CMPC_P2)
(ANB3& VREFLB& CMPC_M0)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 21
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOB4 44 48 64 LQFP LQFP LQFP 14 21 Type Input/ Output Input State During Reset Input, internal pullup enabled Signal Description Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB4 and CMPC_M1 -- Analog input to channel 4 of ADCB and negative input 1 of analog comparator C. After reset, the default state is GPIOB4. GPIOB5 20 Input/ Output Input Input, internal pullup enabled Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB5 and CMPC_M2 -- Analog input to channel 5 of ADCB and negative input 2 of analog comparator C. After reset, the default state is GPIOB5. GPIOB6 19 Input/ Output Input Input, internal pullup enabled Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB6 and CMPB_M1 -- Analog input to channel 6 of ADCB and negative input 1 of analog comparator B. After reset, the default state is GPIOB6. GPIOB7 17 Input/ Output Input Input, internal pullup enabled Port B GPIO -- This GPIO pin can be individually programmed as an input or output pin. ANB7 and CMPB_M2 -- Analog input to channel 7 of ADCB and negative input 2 of analog comparator B. After reset, the default state is GPIOB7. GPIOC0 3 3 3 Input/ Output Analog Output Input, internal pullup enabled Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. XTAL -- External Crystal Oscillator Output. This output connects the internal crystal oscillator output to an external crystal or ceramic resonator. CLKIN -- This pin serves as an external clock input.1 After reset, the default state is GPIOC0. GPIOC1 4 4 4 Input/ Output Analog Input Input, internal pullup enabled Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. EXTAL -- External Crystal Oscillator Input. This input connects the internal crystal oscillator input to an external crystal or ceramic resonator. After reset, the default state is GPIOC1.
(ANB4& CMPC_M1)
(ANB5& CMPC_M2)
(ANB6& CMPB_M1)
(ANB7& CMPB_M2)
XTAL
CLKIN
Input
(EXTAL)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 22 Freescale Semiconductor
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOC2 44 48 64 LQFP LQFP LQFP 5 5 5 Type Input/ Output Output State During Reset Input, internal pullup enabled Signal Description Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. TXD0 -- The SCI0 transmit data output or transmit/receive in single wire operation. TB0 -- Quad timer module B channel 0 input/output.
(TXD0)
(TB0)
Input/ Output Input Output
(XB_IN2) (CLKO)
XB_IN2 -- Crossbar module input 2 CLKO -- This is a buffered clock output; the clock source is selected by clockout select (CLKOSEL) bits in the clock output select register (CLKOUT) of the SIM. After reset, the default state is GPIOC2.
GPIOC3
6
6
7
Input/ Output Input/ Output Output Input
(TA0)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. TA0 -- Quad timer module A channel 0 input/output.
(CMPA_O) (RXD0)
CMPA_O-- Analog comparator A output RXD0 -- The SCI0 receive data input. After reset, the default state is GPIOC3.
GPIOC4
7
7
8
Input/ Output Input/ Output Output
(TA1)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. TA1 -- Quad timer module A channel 1input/output
(CMPB_O)
CMPB_O -- Analog comparator B output After reset, the default state is GPIOC4.
GPIOC5
12
13
18
Input/ Output Analog Output Input
(DACO)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. DACO -- 12-bit Digital-to-Analog Controller output
(XB_IN7)
XB_IN7 -- Crossbar module input 7 After reset, the default state is GPIOC5.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 23
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOC6 44 48 64 LQFP LQFP LQFP 21 23 31 Type Input/ Output Input/ Output Input Analog Input 22 24 32 Input/ Output Input/ Output Output Input, internal pullup enabled State During Reset Input, internal pullup enabled Signal Description Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. TA2 -- Quad timer module A channel 2 input/output
(TA2)
(XB_IN3) (CMP_REF)
XB_IN3 -- Crossbar module input 3 CMP_REF-- Positive input 3 of analog comparator A and B and C After reset, the default state is GPIOC6
GPIOC7
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. SS -- SS is used in slave mode to indicate to the SPI module that the current transfer is to be received. TXD0 -- SCI0 transmit data output or transmit/receive in single wire operation After reset, the default state is GPIOC7.
(SS)
(TXD0)
GPIOC8
23
25
33
Input/ Output Input/ Output
(MISO)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. MISO -- Master in/slave out. In master mode, this pin serves as the data input. In slave mode, this pin serves as the data output. The MISO line of a slave device is placed in the high-impedance state if the slave device is not selected. RXD0 -- SCI0 receive data input After reset, the default state is GPIOC8.
(RXD0)
Input
GPIOC9
24
26
34
Input/ Output Input/ Output
(SCLK)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. SCLK -- The SPI serial clock. In master mode, this pin serves as an output, clocking slaved listeners. In slave mode, this pin serves as the data clock input. XB_IN4 -- Crossbar module input 4 After reset, the default state is GPIOC9.
(XB_IN4)
Input
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 24 Freescale Semiconductor
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOC10 44 48 64 LQFP LQFP LQFP 25 27 35 Type Input/ Output Input/ Output Input Input/ Output State During Reset Input, internal pullup enabled Signal Description Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. MOSI -- Master out/slave in. In master mode, this pin serves as the data output. In slave mode, this pin serves as the data input. XB_IN5 -- Crossbar module input 5 MISO -- Master in/slave out. In master mode, this pin serves as the data input. In slave mode, this pin serves as the data output. The MISO line of a slave device is placed in the high-impedance state if the slave device is not selected. After reset, the default state is GPIOC10. GPIOC11 26 29 37 Input/ Output Open-drain Output Input/ Open-drain Output Output Input, internal pullup enabled Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. CANTX -- CAN transmit data output (not available on 56F8245/46/47) SCL1 -- I2C1 serial clock
(MOSI)
(XB_IN5) (MISO)
(CANTX)
(SCL1)
(TXD1)
TXD1 -- SCI1 transmit data output or transmit/receive in single wire operation After reset, the default state is GPIOC11.
GPIOC12
27
30
38
Input/ Output Input
(CANRX)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. CANRX -- CAN receive data input (not available on 56F8245/46/47) SDA1 -- I2C1 serial data line
(SDA1)
Input/ Open-drain Output Input
(RXD1)
RXD1 -- SCI1 receive data input After reset, the default state is GPIOC12.
GPIOC13
34
37
49
Input/ Output Input/ Output Input
(TA3)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. TA3 -- Quad timer module A channel 3input/output.
(XB_IN6)
XB_IN6 -- Crossbar module input 6 After reset, the default state is GPIOC13.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 25
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOC14 44 48 64 LQFP LQFP LQFP 37 41 55 Type Input/ Output Input/ Open-drain Output Input State During Reset Input, internal pullup enabled Signal Description Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. SDA0 -- I2C0 serial data line
(SDA0)
(XB_OUT0)
XB_OUT0 -- Crossbar module output 0 After reset, the default state is GPIOC14.
GPIOC15
38
42
56
Input/ Output Input/ Open-drain Output Input
(SCL0)
Input, internal pullup enabled
Port C GPIO -- This GPIO pin can be individually programmed as an input or output pin. SCL0 -- I2C0 serial clock
(XB_OUT1)
XB_OUT1 -- Crossbar module output 1 After reset, the default state is GPIOC15.
GPIOE0
30
33
45
Input/ Output Input
PWM0B
Input, internal pullup enabled
Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM0B -- NanoEdge PWM submodule 0 output B After reset, the default state is GPIOE0.
GPIOE1
31
34
46
Input/ Output Output
(PWM0A)
Input, internal pullup enabled
Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM0A -- NanoEdge PWM submodule 0 output B After reset, the default state is GPIOE1.
GPIOE2
32
35
47
Input/ Output Output
(PWM1B)
Input, internal pullup enabled
Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM1B -- NanoEdge PWM submodule 1 output A After reset, the default state is GPIOE2.
GPIOE3
33
36
48
Input/ Output Output
(PWM1A)
Input, internal pullup enabled
Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM1A -- NanoEdge PWM submodule 1 output A After reset, the default state is GPIOE3.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 26 Freescale Semiconductor
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOE4 44 48 64 LQFP LQFP LQFP 35 39 51 Type Input/ Output Output Input State During Reset Input, internal pullup enabled Signal Description Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM2B -- NanoEdge PWM submodule 2 output B XB_IN2 -- Crossbar module input 2 After reset, the default state is GPIOE4. GPIOE5 (PWM2A) Output (XB_IN3) Input 36 40 52 Input/ Output Input, internal pullup enabled Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM2A -- NanoEdge PWM submodule 2 output A XB_IN3 -- Crossbar module input 3 After reset, the default state is GPIOE5. GPIOE6 53 Input/ Output Input/ Output Input Input, internal pullup enabled Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM3B -- Enhanced PWM submodule 3 output B or input capture B XB_IN4 -- Crossbar module input 4 After reset, the default state is GPIOE6. GPIOE7 54 Input/ Output Input/ Output Input Input, internal pullup enabled Port E GPIO -- This GPIO pin can be individually programmed as an input or output pin. PWM3A -- Enhanced PWM submodule 3 output A or input capture A XB_IN5 -- Crossbar module input 5 After reset, the default state is GPIOE7. GPIOF0 28 36 Input/ Output Input Input, internal pullup enabled Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. XB_IN6 -- Crossbar module input 6 After reset, the default state is GPIOF0.
(PWM2B) (XB_IN2)
(PWM3B)
(XB_IN4)
(PWM3A)
(XB_IN5)
(XB_IN6)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 27
Signal/Connection Descriptions
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOF1 44 48 64 LQFP LQFP LQFP 38 50 Type Input/ Output Output State During Reset Input, internal pullup enabled Signal Description Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. CLKO -- This is a buffered clock output; the clock source is selected by clockout select (CLKOSEL) bits in the clock output select register (CLKOUT) of the SIM. XB_IN7 -- Crossbar module input 7 After reset, the default state is GPIOF1. GPIOF2 39 Input/ Output Input/ Open-drain Output Output Input, internal pullup enabled Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. SCL1 -- The I2C1 serial clock.
(CLKO)
(XB_IN7)
Input
(SCL1)
(XB_OUT2)
XB_OUT2 -- Crossbar module output 2 After reset, the default state is GPIOF2.
GPIOF3
40
Input/ Output Input/ Open-drain Output Output
(SDA1)
Input, internal pullup enabled
Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. SDA1 -- The I2C1 serial data line.
(XB_OUT3)
XB_OUT3 -- Crossbar module output 3 After reset, the default state is GPIOF3.
GPIOF4
41
Input/ Output Output
(TXD1)
Input, internal pullup enabled
Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. TXD1 -- The SCI1 transmit data output or transmit/receive in single wire operation. XB_OUT4 -- Crossbar module output 4 After reset, the default state is GPIOF4.
(XB_OUT4)
Output
GPIOF5
42
Input/ Output Output Output
(RXD1) (XB_OUT5)
Input, internal pullup enabled
Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. RXD1 -- The SCI1 receive data input. XB_OUT5 -- Crossbar module output 5 After reset, the default state is GPIOF5.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 28 Freescale Semiconductor
Memory Maps
Table 5. MC56F825x/MC56F824x Signal and Package Information (continued)
Signal Name GPIOF6 44 48 64 LQFP LQFP LQFP 58 Type Input/ Output Input/ Output Input/ Output State During Reset Input, internal pullup enabled Signal Description Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. TB2 -- Quad timer module B channel 2 input/output.
(TB2)
(PWM3X)
PWM3X -- Enhanced PWM submodule 3 output X or input capture X After reset, the default state is GPIOF6.
GPIOF7
59
Input/ Output Input/ Output
(TB3)
Input, internal pullup enabled
Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. TB3 -- Quad timer module B channel 3 input/output. After reset, the default state is GPIOF7.
GPIOF8
6
Input/ Output Input Input/ Output
(RXD0) (TB1)
Input, internal pullup enabled
Port F GPIO -- This GPIO pin can be individually programmed as an input or output pin. RXD0 -- The SCI0 receive data input. TB1 -- Quad timer module B channel 1 input/output. After reset, the default state is GPIOF8.
1
If CLKIN is selected as the device's external clock input, both the GPS_C0 bit in GPS1 and the EXT_SEL bit in the OCCS oscillator control register (OSCTL) must be set. In this case, it is also recommended to power down the crystal oscillator.
4
4.1
Memory Maps
Introduction
The MC56F825x/MC56F824x device is based on the 56800E core. It uses a dual Harvard-style architecture with two independent memory spaces for data and program. On-chip RAM is shared by both data and program spaces; flash memory is used only in program space. This section provides memory maps for: * Program address space, including the interrupt vector table * Data address space, including the EOnCE memory and peripheral memory maps On-chip memory sizes for the device are summarized in Table 6. Flash memories' restrictions are identified in the "Use Restrictions" column of Table 6.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 29
Memory Maps
Table 6. Chip Memory Configurations
On-Chip Memory Program Flash (PFLASH) Unified RAM (RAM) 56F8245 56F8246 24K x 16 or 48 KB 3K x 16 or 6 KB 56F8247 24K x 16 or 48 KB 4K x 16 or 8 KB 56F8255 56F8256 56F8357 32K x 16 or 64 KB 4K x 16 or 8 KB Use Restrictions Erase/program via flash interface unit and word writes to CDBW
Usable by the program and data memory spaces
4.2
Program Map
The MC56F825x/MC56F824x series provide up to 64 KB on-chip flash memory. It primarily accesses through the program memory buses (PAB; PDB). PAB is used to select program memory addresses; instruction fetches are performed over PDB. Data can be read from and written to the program memory space through the primary data memory buses: CDBW for data write and CDBR for data read. Access time for accessing the program memory space over the data memory buses is longer than for accessing data memory space. The special MOVE instructions are provided to support these accesses. The benefit is that non-time-critical constants or tables can be stored and accessed in program memory. The program memory map appears in Table 7, Table 8, and Table 9, depending on the device. Table 7. Program Memory Map1 for 56F8255/56/57 at Reset
Begin/End Address P: 0x1F FFFF P: 0x00 8800 P: 0x00 8FFF P: 0x00 8000 P: 0x00 7FFF P: 0x00 0000 RESERVED On-chip RAM2: 8 KB * * * * Internal program flash: 64 KB Interrupt vector table locates from 0x00 0000 to 0x00 0085 COP reset address = 0x00 0002 Boot location = 0x00 0000 Memory Allocation
1 2
All addresses are 16-bit word addresses. This RAM is shared with data space starting at address X: 0x00 0000. See Figure 6.
Table 8. Program Memory Map1 for 56F82447 at Reset
Begin/End Address P: 0x1F FFFF P: 0x00 8800 P: 0x00 8FFF P: 0x00 8000 P: 0x00 7FFF P: 0x00 2000 RESERVED On-chip RAM2: 8 KB * * * * Internal program flash: 48 KB Interrupt vector table locates from 0x00 2000 to 0x00 2085 COP reset address = 0x00 2002 Boot location = 0x00 2000 Memory Allocation
P: 0x00 2000 P: 0x00 0000
RESERVED
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 30 Freescale Semiconductor
Memory Maps
1 2
All addresses are 16-bit word addresses. This RAM is shared with data space starting at address X: 0x00 0000. See Figure 7.
Table 9. Program Memory Map1 for 56F8245/46 at Reset
Begin/End Address P: 0x1F FFFF P: 0x00 8800 P: 0x00 8BFF P: 0x00 8000 P: 0x00 7FFF P: 0x00 2000 RESERVED On-chip RAM2: 6 KB * * * * Internal program flash: 48 KB Interrupt vector table locates from 0x00 2000 to 0x00 2085 COP reset address = 0x00 2002 Boot location = 0x00 2000 Memory Allocation
P: 0x00 2000 P: 0x00 0000
1 2
RESERVED
All addresses are 16-bit word addresses. This RAM is shared with data space starting at address X: 0x00 0000. See Figure 7.
4.3
Data Map
The MC56F825x/MC56F824x series contains dual access memory. It can be accessed from core primary data buses (XAB1, CDBW, CDBR) and secondary data buses (XAB2, XDB2). Addresses in data memory are selected on the XAB1 and XAB2 buses. Byte, word, and long data transfers occur on the 32-bit CDBR and CDBW buses. A second 16-bit read operation can be performed in parallel on the XDB2 bus. Peripheral registers and on-chip JTAG/EOnCE controller registers are memory mapped into data memory access. A special direct address mode is supported for accessing a first 64-location in data memory by using a single word instruction. The data memory map appears in Table 10 and Table 11. Table 10. 56F8247 and 56F8255/56/57 Data Memory Map1
Begin/End Address X:0xFF FFFF X:0xFF FF00 X:0xFF FEFF X:0x01 0000 X:0x00 FFFF X:0x00 F000 X:0x00 EFFF X:0x00 9000 X:0x00 8FFF X:0x00 8000 X:0x00 7FFF X:0x00 1000 X:0x00 0FFF X:0x00 0000
1
Memory Allocation EOnCE 256 locations allocated RESERVED On-chip peripherals 4096 locations allocated RESERVED On-chip data RAM alias RESERVED On-chip data RAM 8 KB2
All addresses are 16-bit word addresses.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 31
Memory Maps
2
This RAM is shared with program space starting at P: 0x00 8000. See Figure 6 and Figure 7.
On-chip RAM is also mapped into program space starting at P: 0x00 8000. This mapping eases online reprogramming of on-chip flash.
Program Data EOnCE Reserved Reserved Peripherals Reserved 0x00 9000 RAM 0x00 8000 Reserved Flash RAM 0x00 0000 0x00 0000 0x00 1000 Dual Port RAM RAM Alias 0x00 8000 0x00 9000 0x01 0000 0x00 F000 0xFF FF00
Figure 6. 56F8255/56/57 Dual Port RAM Map
Program
Data EOnCE Reserved 0xFF FF00
Reserved Peripherals Reserved 0x00 9000 RAM 0x00 8000 Flash 0x00 2000 0x00 0000 Reserved Reserved Dual Port RAM RAM Alias
0x01 0000 0x00 F000 0x00 9000 0x00 8000 0x00 1000 RAM 0x00 0000
Figure 7. 56F8247 Dual Port RAM Map
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 32 Freescale Semiconductor
Memory Maps
Table 11. 56F8245/56 Data Memory Map1
Begin/End Address X:0xFF FFFF X:0xFF FF00 X:0xFF FEFF X:0x01 0000 X:0x00 FFFF X:0x00 F000 X:0x00 EFFF X:0x00 8C00 X:0x00 8BFF X:0x00 8000 X:0x00 7FFF X:0x00 0C00 X:0x00 0BFF X:0x00 0000
1 2
Memory Allocation EOnCE 256 locations allocated RESERVED On-Chip Peripherals 4096 locations allocated RESERVED On-Chip Data RAM Alias RESERVED On-Chip Data RAM 6 KB2
All addresses are 16-bit word addresses. This RAM is shared with program space starting at P: 0x00 8000. See Figure 8.
Program
Data EOnCE Reserved 0xFF FF00
Reserved Peripherals Reserved 0x00 8C00 RAM 0x00 8000 Flash 0x00 2000 0x00 0000 Reserved Reserved Dual Port RAM RAM Alias
0x01 0000 0x00 F000 0x00 8C00 0x00 8000 0x00 0C00 RAM 0x00 0000
Figure 8. 56F8245/46 Dual Port RAM Map
4.4
Interrupt Vector Table and Reset Vector
The location of the vector table is determined by the vector base address register (VBA). The value in this register is used as the upper 14 bits of the interrupt vector VAB[20:0]. The lower seven bits are determined based on the highest priority interrupt and are then appended to VBA before presenting the full VAB to the core. Refer to the device's reference manual for details. The reset startup addresses of 56F824x and 56F825x are different. * The 56F825x's startup address is located at 0x00 0000. The reset value of VBA is reset to a value of 0x0000 that corresponds to the address 0x00 0000.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 33
Memory Maps
*
The 56F824x's startup address is located at 0x00 2000. The reset value of VBA is reset to a value of 0x0020 that corresponds to the address 0x00 2000.
By default, the chip reset address and COP reset address correspond to vector 0 and 1 of the interrupt vector table. In these instances, the first two locations in the vector table must contain branch or JMP instructions. All other entries must contain JSR instructions. Table 48 on page 85 provides the MC56F825x/MC56F824x's interrupt table contents and interrupt priority structure.
4.5
Peripheral Memory-Mapped Registers
The locations of on-chip peripheral registers are part of the data memory map on the 56800E series. These locations may be accessed with the same addressing modes used for ordinary data memory. However, all peripheral registers should be read or written using word accesses only. Table 12 summarizes the base addresses for the set of peripherals on the MC56F825x/MC56F824x devices. Peripherals are listed in order of the base address. Table 12. Data Memory Peripheral Base Address Map Summary
Peripheral Quad Timer A Quad Timer B Analog-to-Digital Converter Interrupt Controller System Integration Module Crossbar module Computer Operating Properly module On-Chip Clock Synthesis module Power Supervisor GPIO Port A GPIO Port B GPIO Port C GPIO Port D GPIO Port E GPIO Port F 12-bit Digital-to-Analog Converter Analog Comparator A Analog Comparator B Analog Comparator C Queued Serial Communication Interface 0 Queued Serial Communication Interface 1 Queued Serial Peripheral Interface Inter-Integrated Circuit 0 Inter-Integrated Circuit 1 Prefix TMRA TMRB ADC INTC SIM XBAR COP OCCS PS GPIOA GPIOB GPIOC GPIOD GPIOE GPIOF DAC CMPA CMPB CMPC QSCI0 QSCI1 QSPI I C0 I
2C1 2
Base Address X:0x00 F000 X:0x00 F040 X:0x00 F080 X:0x00 F0C0 X:0x00 F0E0 X:0x00 F100 X:0x00 F110 X:0x00 F120 X:0x00 F130 X:0x00 F140 X:0x00 F150 X:0x00 F160 X:0x00 F170 X:0x00 F180 X:0x00 F190 X:0x00 F1A0 X:0x00 F1B0 X:0x00 F1C0 X:0x00 F1D0 X:0x00 F1E0 X:0x00 F1F0 X:0x00 F200 X:0x00 F210 X:0x00 F220
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 34 Freescale Semiconductor
Memory Maps
Table 12. Data Memory Peripheral Base Address Map Summary (continued)
Peripheral Cyclic Redundancy Check Generator Comparator Voltage Reference A Comparator Voltage Reference B Comparator Voltage Reference C Enhanced Flex PWM Module Flash Memory Interface Freescale Controller Area Network
1 1
Prefix CRC REFA REFB REFB eFlexPWM FM MSCAN
Base Address X:0x00 F230 X:0x00 F240 X:0x00 F250 X:0x00 F260 X:0x00 F300 X:0x00 F400 X:0x00 F440
The core must enable clocks to the Freescale Controller Area Network module prior to accessing MSCAN addresses. For details, refer to the MSCAN chapter of the device's reference manual.
4.6
EOnCE Memory Map
Control registers of the EOnCE are located at the top of data memory space. These locations are fixed by the 56800E core. These registers can also be accessed through the JTAG port if flash security is not set. Table 13 lists all EOnCE registers necessary to access or control the EOnCE. Table 13. EOnCE Memory Map
Address X:0xFF FFFF X:0xFF FFFE X:0xFF FFFD X:0xFF FFFC X:0xFF FFFB- X:0xFF FFA1 X:0xFF FFA0 X:0xFF FF9F-X:0xFF FF9E X:0xFF FF9D X:0xFF FF9C X:0xFF FF9B X:0xFF FF9A X:0xFF FF99-X:0xFF FF98 X:0xFF FF97-X:0xFF FF96 X:0xFF FF95-X:0xFF FF94 X:0xFF FF93-X:0xFF FF92 OCR OSCNTR (24 bits) OSR OBASE OTBCR OTBPR OTB (21-24 bits/stage) OBCR (24 bits) OBAR1 (24 bits) OBAR2 (32 bits) Register Abbreviation OTX1/ORX1 OTX/ORX (32 bits) OTXRXSR OCLSR Register Name Transmit Register Upper Word Receive Register Upper Word Transmit Register Receive Register Transmit and Receive Status and Control Register Core Lock/Unlock Status Register Reserved Control Register Instruction Step Counter Status Register Peripheral Base Address Register Trace Buffer Control Register Trace Buffer Pointer Register Trace Buffer Register Stages Breakpoint Unit Control Register Breakpoint Unit Address Register 1 Breakpoint Unit Address Register 2
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 35
General System Control Information
Table 13. EOnCE Memory Map
Address X:0xFF FF91-X:0xFF FF90 X:0xFF FF8F X:0xFF FF8E X:0xFF FF8D X:0xFF FF8C X:0xFF FF8B X:0xFF FF8A X:0xFF FF89 -X:0xFF FF00 OESCR OBCNTR Register Abbreviation OBMSK (32 bits) Register Name Breakpoint Unit Mask Register 2 Reserved EOnCE Breakpoint Unit Counter Reserved Reserved Reserved External Signal Control Register Reserved
5
5.1
General System Control Information
Overview
This section discusses power pins, reset sources, interrupt sources, clock sources, the system integration module (SIM), ADC synchronization, and JTAG/EOnCE interfaces.
5.2
Power Pins
VDD, VSS and VDDA, VSSA are the primary power supply pins for the device. The voltage source supplies power to all on-chip peripherals, I/O buffer circuitry, and internal voltage regulators. The device has multiple internal voltages to provide regulated lower-voltage sources for the peripherals, core, memory, and on-chip relaxation oscillators. Typically, at least two separate capacitors are across the power pins to bypass the glitches and provide bulk charge storage. In this case, a bulk electrolytic or tantalum capacitor, such as a 10 F tantalum capacitor, should provide bulk charge storage for the overall system, and a 0.1 F ceramic bypass capacitor should be located as near to the device power pins as is practical to suppress high-frequency noise. Each pin must have a bypass capacitor for optimal noise suppression. VDDA and VSSA are the analog power supply pins for the device. This voltage source supplies power to the ADC, PGA, and CMP modules. A 0.1 F ceramic bypass capacitor should be located as near to the device VDDA and VSSA pins as is practical to suppress high-frequency noise. VDDA and VSSA are also the voltage reference high and voltage reference low inputs, respectively, for the ADC module.
5.3
Reset
Resetting the device provides a way to start processing from a known set of initial conditions. During reset, most control and status registers are forced to initial values, and the program counter is loaded from the reset vector. On-chip peripheral modules are disabled and I/O pins are initially configured at the reset status shown in Table 5 on page 18. The MC56F825x/MC56F824x has the following sources for reset: * * * * * * Power-on reset (POR) Partial power-down reset (PPD) Low-voltage detect (LVD) External pin reset (EXTR) Computer operating properly loss of reference reset (COP_LOR) Computer operating properly time-out reset (COP_CPU)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 36 Freescale Semiconductor
General System Control Information
*
Software reset (SWR)
Each of these sources has an associated bit in the reset status register (RSTAT) in the system integration module (SIM). The external pin reset function is shared with a GPIO port A7 on the RESET/GPIOA7 pin. The reset function is enabled following any reset of the device. Bit 7 of the GPIOA_PER register must be cleared to use this pin as a GPIO port pin. When the pin is enabled as the RESET pin, an internal pullup device is automatically enabled.
5.4
On-chip Clock Synthesis
The on-chip clock synthesis (OCCS) module allows designers using an internal relaxation oscillator, an external crystal, or an external clock to run 56F8000 family devices at user-selectable frequencies up to 60 MHz. The features of OCCS module include: * * * * * * Ability to power down the internal relaxation oscillator or crystal oscillator Ability to put the internal relaxation oscillator into standby mode Ability to power down the PLL Provides a 2x system clock that operates at two times the system clock to the timer and SCI modules Safety shutdown feature if the PLL reference clock is lost Ability to be driven from an external clock source
The clock generation module provides the programming interface for the PLL, internal relaxation oscillator, and crystal oscillator. It also provides a postscaler to divide clock frequency down by 1, 2, 4, 8, 16, 32, 64, 128, or 256 before feeding it to the SIM. The SIM is responsible for further dividing these frequencies by 2, which ensures a 50% duty cycle in the system clock output. For details, refer to the OCCS section of the device's reference manual.
5.4.1
Internal Clock Source
When an external frequency source or crystal is not used, an internal relaxation oscillator can supply the reference frequency. It is optimized for accuracy and programmability while providing several power-saving configurations that accommodate different operating conditions. The internal relaxation oscillator has little temperature and voltage variability. To optimize power, the internal relaxation oscillator supports a run state (8 MHz), standby state (400 kHz), and a power-down state. During a boot or reset sequence, the relaxation oscillator is enabled by default (the PRECS bit in the PLLCR word is set to 0). Application code can then also switch to the external clock source and power down the internal oscillator, if desired. If a changeover between internal and external clock sources is required at power-on, ensure that the clock source is not switched until the desired external clock source is enabled and stable. To compensate for variances in the device manufacturing process, the accuracy of the relaxation oscillator can be incrementally adjusted to within + 0.078% of 8 MHz by trimming an internal capacitor. Bits 0-9 of the oscillator control (OSCTL) register allow you to set an additional offset (trim) to this preset value to increase or decrease capacitance. Each unit added or subtracted changes the output frequency by about 0.078% of 8 MHz, allowing incremental adjustment until the desired frequency accuracy is achieved. The center frequency of the internal oscillator is calibrated at the factory to 8 MHz, and the TRIM value is stored in the flash information block and loaded to the HFM IFR option register 0 at reset. When using the relaxation oscillator, the boot code should read the HFM IFR option register 0 and set this value as OSCTL TRIM. For further information, refer to the device's reference manual.
5.4.2
Crystal Oscillator/Ceramic Resonator
The internal crystal oscillator circuit is designed to interface with a parallel-resonant crystal resonator in the frequency range, specified for the external crystal, of 4 MHz to 16 MHz. A ceramic resonator can be substituted for the 4 MHz to 16 MHz range. When used to supply a source to the internal PLL, the recommended crystal/resonator is in the 8 MHz to 16 MHz range to optimize PLL performance. Oscillator circuits appear in Figure 9 and Figure 10. Follow the crystal supplier's recommendations
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 37
General System Control Information
when selecting a crystal, because crystal parameters determine the component values required to provide maximum stability and reliable startup. The load capacitance values used in the oscillator circuit design should include all stray layout capacitances. The crystal and associated components should be mounted as near as possible to the EXTAL and XTAL pins to minimize output distortion and startup stabilization time. When using low-frequency, low-power mode, the only external component is the crystal itself. In the other oscillator modes, load capacitors (Cx, Cy) and feedback resistor (RF) are required. In addition, a series resistor (RS) may be used in high-gain modes. Recommended component values appear in Table 27.
MC56F825x/MC56F824x XTAL Crystal Frequency = 4-16 MHz OSC_DIV2 = 1 if 16 MHz is chosen EXTAL
Figure 9. Typical Crystal Oscillator Circuit without Frequency Compensation Capacitor
MC56F825x/MC56F824x XTAL Crystal Frequency = 4-16 MHz OSC_DIV2 = 1 if 16 MHz is chosen RF EXTAL
C1
C2
Figure 10. Typical Crystal or Ceramic Resonator Circuit
5.4.3
* *
Alternate External Clock Input
both the EXT_SEL bit and the CLK_MODE bit in the OSCTL register are set, and corresponding bits in the GPIOB_PER register in the GPIO module and the GPS_C0 bit in the GPS0 register in the system integration module (SIM) are set to the correct values.
The recommended method of connecting an external clock appears in Figure 11. The external clock source is connected to the CLKIN pin while:
The external clock input must be generated using a relatively low-impedance driver with a maximum frequency not greater than 120 MHz.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 38 Freescale Semiconductor
General System Control Information EXT_SEL & CLK_MODE = 1 GPIOC_PER0 = 0 GPS_C0 = 1 External Clock ( 120 MHz)
MC56F825x/MC56F824x CLKIN
Figure 11. Connecting an External Clock Signal Using GPIO
5.5
Interrupt Controller
The MC56F825x/MC56F824x interrupt controller (INTC) module arbitrates the various interrupt requests (IRQs). When an interrupt of sufficient priority exists, the INTC signals to the 56800E core and provides the address to which to jump to service the interrupt. The interrupt controller contains registers that allow each of the 66 interrupt sources to be set to one of three priority levels (excluding certain interrupt sources that have fixed priority) or to be disabled. Next, all interrupt requests of a given level are priority encoded to determine the lowest numeric value of the active interrupt requests for that level. Within a given priority level, the lowest vector number is the highest priority, and the highest vector number is the lowest priority. Any two interrupt sources can be assigned to faster interrupts. Fast interrupts are described in the DSP56800E Reference Manual. The interrupt controller recognizes fast interrupts before the core does. A fast interrupt is defined by: 1. 2. 3. Setting the priority of the interrupt as level 2 with the appropriate field in the Interrupt Priority Register (IPR) registers Setting the Fast Interrupt Match (FIMn) register to the appropriate vector number Setting the Fast Interrupt Vector Address Low (FIVALn) and Fast Interrupt Vector Address High (FIVAHn) registers with the address of the code for the fast interrupt
When an interrupt occurs, its vector number is compared with the FIM0 and FIM1 register values. If a match occurs, and it is a level 2 interrupt, the INTC handles it as a Fast Interrupt. The INTC takes the vector address from the appropriate FIVALn and FIVAHn registers, instead of generating an address that is an offset from the VBA. The core then fetches the instruction from the indicated vector address instead of jumping to the vector table. If the instruction is not a JSR, the core starts its fast interrupt handling. Refer to section 9.3.3.3 of DSP56800E 16-Bit Core Reference Manual for details. Table 48 on page 85 provides the MC56F825x/MC56F824x's interrupt table contents and interrupt priority structure.
5.6
System Integration Module (SIM)
The SIM module consists of the glue logic that ties together the system-on-a-chip. It controls distribution of resets and clocks and provides a number of control features, including pin muxing control, inter-module connection control (such as connecting comparator output to eFlexPWM fault input), individual peripheral enabling/disabling, clock rate control for quad timers and SCIs, enabling peripheral operation in stop mode, and port configuration overwrite protection. For more information, refer to the device's reference manual. The SIM is responsible for the following functions: * * * * * * Chip reset sequencing Core and peripheral clock control and distribution Stop/wait mode control System status control Registers containing the JTAG ID of the chip Controls for programmable peripheral and GPIO connections
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 39
General System Control Information
* * * * * * * * * * *
Peripheral clocks for Quad Timers and SCIs with a high-speed (2x) option Power-saving clock gating for peripherals Controls for enabling/disabling functions of large regulator standby mode with write protection capability Allowing selected peripherals to run in stop mode to generate stop recovery interrupts Controls for programmable peripheral and GPIO connections Software chip reset I/O short address base location control Peripheral protection control to provide runaway code protection for safety-critical applications Controls for output of internal clock sources to CLKO pin Four general-purpose software control registers that are reset only at power-on Peripheral stop mode clocking control
5.7
Inter-Module Connections
The operations between on-chip peripherals can be synchronized or cascaded through internal module connections to support particular applications. Examples include synchronization between ADC sampling and PWM waveform generation for a power conversion application, and synchronization between timer pulse outputs and DAC waveform generation for a printer application. The user can program the internal Crossbar Switch or Comparator input multiplexes to connect one on-chip peripheral's outputs to other peripherals' inputs.
5.7.1
Comparator Connections
The MC56F825x/MC56F824x includes three high-speed comparators. Each comparator input has a 4-to-1 input mux, allowing it to sample a variety of analog sources. Some of these inputs share package pins with the on-chip ADCs; see Table 5 on page 18. Each comparator is paired with a dedicated, programmable, 5-bit on-chip voltage reference DAC (VREF_DAC). Optionally, an on-chip 12-bit DAC can be internally fed to each comparator's positive input 1 (CMPn_P1) or negative input 3 (CMPn_M3). In addition, all three comparators' positive input 3 (CMPn_P3) can be connected together to package pin CMP_REF. Other inputs can be routed to package pins when the corresponding pin is configured for peripheral mode in the GPIO module.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 40 Freescale Semiconductor
General System Control Information
Figure 12. On-Chip Comparator Connections Table 14. Connections by Comparator Inputs
Comparator Input P0 (from internal) P1 (from internal) P2 (from package pin) P3 (from package pin) Comparator A 5-bit VREFA_DAC 12-bit DAC CMPA_P2 CMP_REF Comparator B 5-bit VREFB_DAC 12-bit DAC CMPB_P2 CMP_REF Comparator B 5-bit VREFC_DAC 12-bit DAC CMPC_P2 CMP_REF
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 41
General System Control Information
Table 14. Connections by Comparator Inputs (continued)
Comparator Input M0 (from package pin) M1 (from package pin) M2 (from package pin) M3 (from internal) Comparator A CMPA_M0 CMPA_M1 CMPA_M2 12-bit DAC Comparator B CMPB_M0 CMPB_M1 CMPB_M2 12-bit DAC Comparator B CMPC_M0 CMPC_M1 CMPC_M2 12-bit DAC
5.7.2
Crossbar Switch Connections
The Crossbar Switch module provides a generic mechanism for making connections between on-chip peripherals as well as between peripherals and pins. It provides a purely combinational path from input to output. The module groups 30 identical multiplexes with 22 shared inputs. All Crossbar control registers that are used to select one of the 22 input signals to output are write protected. Control of the write protection setting is in the SIM_PROT register. In general, the crossbar module connects the Enhanced Flex PWM, ADC, Quad Timers, and comparators together, which allows synchronization between PWM pulse generation and ADC sampling. In addition, several crossbar inputs and outputs are routed to package pins. For example, the user can define an XB_INn pin as a PWM fault protection input that is routed to the PWM module through the crossbar, increasing the flexibility of pin use and reducing the complexity of PCB layout.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 42 Freescale Semiconductor
General System Control Information
EXT_CLK
XBAR_OUT20 XBAR_OUT21 XBAR_OUT22 XBAR_OUT23 XBAR_OUT24 XBAR_OUT25 XBAR_OUT15 XBAR_OUT19 XBAR_IN20 XBAR_IN21 XBAR_OUT14
XBAR_IN2 XBAR_IN 3 XBAR_IN4 XBAR_IN5 XBAR_IN6 XBAR_IN7 XBAR_OUT0 XBAR_OUT1 XBAR_OUT2 XBAR_OUT3 XBAR_OUT4 XBAR_OUT5
Enhanced Flex PWM Module
FAULT0 FAULT1 FAULT2 FAULT3
EXT_FORCE EXTA EXT_SYNC
Submodule 3
OUT_TRIG0 OUT_TRIG1 EXTA
Submodule 2
EXT_SYNC OUT_TRIG0 OUT_TRIG1 EXTA
XBAR_IN9 XBAR_OUT18
COU T Window/ Sample
OR
XBAR_IN18
XBAR_OUT9
CMPA-
+ +
XBAR_OUT13 XBAR_OUT17
Submodule 1
EXT_SYNC OUT_TRIG0 OUT_TRIG1 EXTA
Crossbar Switch
XBAR_IN10 XBAR_OUT10
COUT Window/ Sample
CMPB CMPCOUT
GPIO MUX
5.7.2.1
Table 15 lists the signal assignments of Crossbar Switch inputs.
Freescale Semiconductor
GPIO MUX GPIO MUX
OR
XBAR_IN17
XBAR_IN11 XBAR_OUT11
COUT Window/ Sample
+
XBAR_OUT12 XBAR_OUT16 XBAR_IN12 XBAR_OUT26 1 0
Submodule 0
EXT_SYNC OUT_TRIG0 OUT_TRIG1
OR OR
XBAR_IN16
IN
TB0
XBAR_IN19
ANA0-7
ADCA ADCB DAC
ADCA TRIGGER ADCB TRIGGER
XBAR_OUT6
XBAR_IN13 XBAR_OUT27 1 0
OUT IN
TB1
ANB0-7
XBAR_OUT7
DAC0
SYNC_IN
XBAR_OUT8 XBAR_IN14 XBAR_OUT28 1 0 XBAR_IN0 OUT IN
TB2
VSS
VDD
XBAR_IN1 XBAR_IN15 XBAR_OUT29 1 0 OUT IN
TB3
Figure 13. Crossbar Switch Connections
Crossbar Switch Inputs
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 43
General System Control Information
Table 15. Crossbar Input Signal Assignments
XBAR_INn XBAR_IN0 XBAR_IN1 XBAR_IN2 XBAR_IN3 XBAR_IN4 XBAR_IN5 XBAR_IN6 XBAR_IN7 XBAR_IN8 XBAR_IN9 XBAR_IN10 XBAR_IN11 XBAR_IN12 XBAR_IN13 XBAR_IN14 XBAR_IN15 XBAR_IN16 XBAR_IN17 XBAR_IN18 XBAR_IN19 XBAR_IN20 XBAR_IN21 Input from Logic Zero Logic One XB_IN2 XB_IN3 XB_IN4 XB_IN5 XB_IN6 XB_IN7 Unused CMPA_OUT CMPB_OUT CMPC_OUT TB0 TB1 TB2 TB3 PWM0_TRIG_COMB PWM1_TRIG_COMB PWM2_TRIG_COMB PWM[012]_TRIG_COMB PWM3_TRIG0 PWM3_TRIG1 Comparator A Output Comparator B Output Comparator C Output Quad Timer B0 Output Quad Timer B1 Output Quad Timer B2 Output Quad Timer B3 Output eFlexPWM submodule 0: PWM0_OUT_TRIG0 or PWM0_OUT_TRIG1 eFlexPWM submodule 1: PWM1_OUT_TRIG0 or PWM1_OUT_TRIG1 eFlexPWM submodule 2: PWM2_OUT_TRIG0 or PWM2_OUT_TRIG1 eFlexPWM submodule 0, 1, or 2; PWM0_TRIG_COMB or PWM1_TRIG_COMB or PWM2_TRIG_COMB eFlexPWM submodule 3: PWM3_OUT_TRIG0 eFlexPWM submodule 3: PWM3_OUT_TRIG1 VSS VDD Package pin Package pin Package pin Package pin Package pin Package pin Function
5.7.2.2
Crossbar Switch Outputs
Table 16. Crossbar Output Signal Assignments
Table 16 lists the signal assignments of Crossbar Switch outputs.
XBAR_OUTn XBAR_OUT0 XBAR_OUT1 XBAR_OUT2 XBAR_OUT3 XBAR_OUT4 XBAR_OUT5 XBAR_OUT6 XB_OUT0 XB_OUT1 XB_OUT2 XB_OUT3 XB_OUT4 XB_OUT5 ADCA
Output to Package pin Package pin Package pin Package pin Package pin Package pin ADCA Trigger
Function
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 44 Freescale Semiconductor
General System Control Information
Table 16. Crossbar Output Signal Assignments (continued)
XBAR_OUTn XBAR_OUT7 XBAR_OUT8 XBAR_OUT9 XBAR_OUT10 XBAR_OUT11 XBAR_OUT12 XBAR_OUT13 XBAR_OUT14 XBAR_OUT15 XBAR_OUT16 XBAR_OUT17 XBAR_OUT18 XBAR_OUT19 XBAR_OUT20 XBAR_OUT21 XBAR_OUT22 XBAR_OUT23 XBAR_OUT24 XBAR_OUT25 XBAR_OUT26 XBAR_OUT27 XBAR_OUT28 XBAR_OUT29 ADCB DAC CMPA CMPB CMPC PWM0 EXTA PWM1 EXTA PWM2 EXTA PWM3 EXTA PWM0 EXT_SYNC PWM1 EXT_SYNC PWM2 EXT_SYNC PWM3 EXT_SYNC PWM EXT_CLK PWM FAULT0 PWM FAULT1 PWM FAULT2 PWM FAULT3 PWM FORCE TB0 TB1 TB2 TB3 Output to ADCB Trigger 12-bit DAC SYNC_IN Comparator A Window/Sample Comparator B Window/Sample Comparator C Window/Sample eFlexPWM submodule 0 Alternate Control signal eFlexPWM submodule 1 Alternate Control signal eFlexPWM submodule 2 Alternate Control signal eFlexPWM submodule 3 Alternate Control signal eFlexPWM submodule 0 External Synchronization signal eFlexPWM submodule 1 External Synchronization signal eFlexPWM submodule 2 External Synchronization signal eFlexPWM submodule 3 External Synchronization signal eFlexPWM External Clock signal eFlexPWM Module FAULT0 eFlexPWM Module FAULT1 eFlexPWM Module FAULT2 eFlexPWM Module FAULT3 eFlexPWM External Output Force signal Quad Timer B0 Input when SIM_GPS3[12] is set Quad Timer B1 Input when SIM_GPS3[13] is set Quad Timer B2 Input when SIM_GPS3[14] is set Quad Timer B3 Input when SIM_GPS3[15] is set Function
5.7.3
Interconnection of PWM Module and ADC Module
In addition to how PWM0_EXTA, PWM1_EXTA, PWM2_EXTA, and PWM3_EXTA connect to crossbar outputs, the ADC conversion high/low limit compare results of sample0, sample1, and sample2 are used to drive PWM0_EXTB, PWM1_EXTB, and PWM2_EXTB, respectively. PWM3_EXTB is permanently tied to GND. State of PWM0_EXTB: * * If the ADC conversion result in SAMPLE0 is greater than the value programmed into the high limit register 0, PWM0_EXTB is driven low. If the ADC conversion result in SAMPLE0 is less than the value programmed into the low limit register 0, PWM0_EXTB is driven high. If the ADC conversion result in SAMPLE1 is greater than the value programmed into the high limit register 1, PWM1_EXTB is driven low.
State of PWM1_EXTB: *
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 45
Security Features
*
If the ADC conversion result in SAMPLE1 is less than the value programmed into the low limit register 1, PWM1_EXTB is driven high. If the ADC conversion result in SAMPLE2 is greater than the value programmed into the high limit register 2, PWM2_EXTB is driven low. If the ADC conversion result in SAMPLE2 is less than the value programmed into the low limit register 2, PWM2_EXTB is driven high.
State of PWM2_EXTB: * *
5.8
Joint Test Action Group (JTAG)/Enhanced On-Chip Emulator (EOnCE)
The 56800E family includes extensive integrated support for application software development and real-time debugging. Two modules, the Enhanced On-Chip Emulation (EOnCE) module and the core test access port (TAP, commonly called the JTAG port), work together to provide these capabilities. Both are accessed through a common 4-pin JTAG/EOnCE interface. These modules allow you to insert the MC56F825x/MC56F824x into a target system while retaining debug control. This capability is especially important for devices without an external bus, because it eliminates the need for a costly cable to bring out the footprint of the chip, as is required by a traditional emulator system. The 56800E's EOnCE module is a Freescale-designed module for developing and debugging application software used with the chip. This module allows non-intrusive interaction with the CPU and is accessible through the pins of the JTAG interface or by software program control of the 56800E core. Among the many features of the EOnCE module is support, in real-time program execution, for data communication between the controller and the host software development and debug systems. Other features allow for hardware breakpoints, the monitoring and tracking of program execution, and the ability to examine and modify the contents of registers, memory, and on-chip peripherals, all in a special debug environment. No user-accessible resources must be sacrificed to perform debugging operations. The 56800E's JTAG port provides an interface for the EOnCE module to the JTAG pins. The Joint Test Action Group (JTAG) boundary scan is an IEEE 1149.1 standard methodology enabling access to test features using a test access port (TAP). A JTAG boundary scan consists of a TAP controller and boundary scan registers. Contact your Freescale sales representative or authorized distributor for device-specific BSDL information.
NOTE
In normal operation, an external pullup on the TMS pin is highly recommend to place the JTAG state machine in reset state (if this pin is not configured as GPIO).
6
Security Features
The MC56F825x/MC56F824x offers security features intended to prevent unauthorized users from gaining access to and reading the contents of the flash memory (FM) array. The MC56F825x/MC56F824x's flash memory security consists of several hardware interlocks. After flash memory security is set, the application software can allow an authorized user to access on-chip memory by including a user-defined software subroutine that reads and transfers the contents of internal memory via peripherals. This application software can communicate over a serial port, for example, to validate the authenticity of the requested access and then to grant it until the next device reset. The system designer must use discretion when deciding whether to support this type of "back door" access technique.
6.1
Operation with Security Enabled
After you have programmed flash with the application code, or as part of programming the flash with the application code, you can secure the MC56F825x/MC56F824x by programming the values 1 and 0 into bits 1 and 0, respectively, of program memory location 0x00_7FF7. The CodeWarrior IDE menu flash lock command can also accomplish this task. The nonvolatile security
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 46 Freescale Semiconductor
Security Features
word ensures that the device remains secure after the next reset (caused, for example, by the device powering down). Refer to the flash memory section of the device's reference manual for details. When flash security mode is enabled, the MC56F825x/MC56F824x disables the core's EOnCE debug capabilities. Normal program execution is otherwise unaffected.
6.2
6.2.1
Flash Access Lock and Unlock Mechanisms
Disabling EOnCE Access
Several methods effectively lock or unlock the on-chip flash.
You can read on-chip flash by issuing commands across the EOnCE port, which is the debug interface for the 56800E core. The TCK, TMS, TDO, and TDI pins compose a JTAG interface onto which the EOnCE port functionality is mapped. When the device boots, the chip-level JTAG port is active and provides the chip's boundary scan capability and access to the ID register. However, proper implementation of flash security blocks any attempt to access the internal flash memory via the EOnCE port when security is enabled. This protection is effective when the device comes out of reset, even prior to the execution of any code at startup.
6.2.2
Flash Lockout Recovery Using JTAG
If the device is secured, one lockout recovery mechanism is the complete erasure of the internal flash contents, including the configuration field. The erasure disables security by clearing the protection register. This approach does not compromise security. The entire contents of your secured code stored in flash are erased before the next reset or power-up sequence, when security becomes disabled. To start the lockout recovery sequence via JTAG, first shift the JTAG public instruction (LOCKOUT_RECOVERY) into the chip-level TAP controller's instruction register. Then shift the clock divider value into the corresponding 7-bit data register. Finally, the TAP controller must enter the RUN-TEST/IDLE state for the lockout sequence to commence. The controller must remain in this state until the erase sequence is complete. Refer to the device's reference manual for details, or contact Freescale.
NOTE
After completion of the lockout recovery sequence, you must reset the JTAG TAP controller and the device to return to normal unsecured operation. A power-on reset resets both.
6.2.3
1. 2. 3.
Flash Lockout Recovery Using CodeWarrior
Debug menu DSP56800E Unlock Flash
You can use CodeWarrior to unlock a device by selecting the following items in the indicated sequence:
You can accomplish the same task with another CodeWarrior mechanism that uses the device's memory configuration file: the command "Unlock_Flash_on_Connect 1" in the .cfg file. This lockout recovery mechanism completely erases the internal flash contents, including the configuration field, thereby disabling security (the protection register is cleared).
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 47
Specifications
6.2.4
6.2.4.1
Flash Lockout Recovery without Mass Erase
Without Presenting Back Door Access Keys to the Flash Unit
A user can unsecure a secured device by programming the word 0x0000 into program flash location 0x00 7FF7. After completing the programming, the JTAG TAP controller and the device must be reset to return to normal unsecured operation. The user is responsible for directing the device to invoke the flash programming subroutine to reprogram the word 0x0000 into program flash location 0x00 7FF7. You can do so, for example, by toggling a specific pin or downloading a user-defined key through serial interfaces.
NOTE
Flash contents can be programmed only from ones to zeroes.
6.2.4.2
Presenting Back Door Access Key to the Flash Unit
The user can temporarily bypass security through a "back door" access scheme, using a four-word key to temporarily unlock the flash. "Back door" access requires support from the embedded software. This software would typically permit an external user to enter the four-word code through one of the communications interfaces and then use it to attempt the unlock sequence. If the input matches the four-word code stored at location 0x00 7FFC-0x00 7FFF in the flash memory, the device immediately becomes unsecured (at runtime) and internal memory is accessible via the JTAG/EOnCE port. Refer to the device's reference manual for details. The key must be entered in four consecutive accesses to the flash, so this routine should be designed to run in RAM.
6.3
Product Analysis
To analyze a product's failures in the field, the recommended method of unsecuring a secured device appears in Section 6.2.4.2, "Presenting Back Door Access Key to the Flash Unit." The customer must supply technical-support details about the protocol to access the subroutines in flash memory. An alternative method for performing analysis on a secured device is to mass-erase and reprogram the flash memory with the original code, but also to modify or not program the security word.
7
7.1
Specifications
General Characteristics
The MC56F825x/MC56F824x is fabricated in high-density, low-power, low-leakage CMOS process with 5 V-tolerant, TTL-compatible digital inputs. The term 5 V-tolerant refers to the capability of an I/O pin, built on a 3.3 V-compatible process technology, to withstand a voltage up to 5.5 V without damaging the device. Many systems have a mixture of devices designed for 3.3 V and 5 V power supplies. In such systems, a bus may carry both 3.3 V-compatible and 5 V-compatible I/O voltage levels (a standard 3.3 V I/O is designed to receive a maximum voltage of 3.3 V 10% during normal operation without causing damage). This 5 V-tolerant capability therefore combines the power savings of 3.3 V I/O levels with the ability to receive 5 V levels without damage.
CAUTION
This device contains protective circuitry to guard against damage due to high static voltage or electrical fields. However, normal precautions are advised to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. Reliability of operation is enhanced if unused inputs are tied to an appropriate voltage level.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 48 Freescale Semiconductor
Specifications
7.2
Absolute Maximum Ratings
CAUTION
Stress beyond the limits specified in Table 17 may affect device reliability or cause permanent damage to the device.
Absolute maximum ratings are stress ratings only, and functional operation at the maximum is not guaranteed.
Unless otherwise stated, all specifications within this section apply over the ambient temperature range of -40 C to +105 C over the following supply ranges: VSS = VSSA = 0 V, VDD = VDDA = 3.0 V to 3.6 V, CL < 50 pF, fOP = 60 MHz. For functional operating conditions, refer to the remaining tables in the section. Table 17. Absolute Maximum Ratings (VSS = 0 V, VSSA = 0 V)
Characteristic Supply Voltage Range Analog Supply Voltage Range ADC High Voltage Reference Voltage difference VDD to VDDA Voltage difference VSS to VSSA Digital Input Voltage Range Oscillator Voltage Range Analog Input Voltage Range Input clamp current, per pin (VIN < 0)1 Symbol VDD VDDA VREFHx VDD VSS VIN VOSC VINA VIC VOC VOUT VOUTOD VOUT_DAC TA TSTG Pin Group 1 Pin Group 2 Pin Group 5 Pin Groups 1, 2 Pin Group 4 Pin Group 3 Notes Min - 0.3 - 0.3 - 0.3 - 0.3 - 0.3 - 0.3 - 0.4 - 0.3 -- -- - 0.3 - 0.3 - 0.3 - 40 - 55 Max 4.0 4.0 4.0 0.3 0.3 6.0 4.0 4.0 -20.0 -20.0 4.0 6.0 4.0 105 150 Unit V V V V V V V V mA mA V V V C C
Output clamp current, per pin (VO < 0)1 Output Voltage Range (Normal Push-Pull mode) Output Voltage Range (Open Drain mode) DAC Output Voltage Range Ambient Temperature Industrial Storage Temperature Range (Extended Industrial)
1
Continuous clamp current per pin is -2.0 mA
Default Mode Pin Group 1: GPIO, TDI, TDO, TMS, TCK Pin Group 2: RESET, GPIOA7 Pin Group 3: ADC and Comparator Analog Inputs Pin Group 4: XTAL, EXTAL Pin Group 5: DAC analog output
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 49
Specifications
7.3
ESD Protection and Latch-up Immunity
Although damage from electrostatic discharge (ESD) is much less common on these devices than on early CMOS circuits, use normal handling precautions to avoid exposure to static discharge. Qualification tests are performed to ensure that these devices can withstand exposure to reasonable levels of static without suffering any permanent damage. All ESD testing conforms with AEC-Q100 Stress Test Qualification. During device qualification, ESD stresses are performed for the human body model (HBM), the machine model (MM), and the charge device model (CDM). All latch-up testing conforms with AEC-Q100 Stress Test Qualification. A device is defined as a failure if, after exposure to ESD pulses, the device no longer meets the device specification. Comprehensive DC parametric and functional testing is performed according to the applicable device specification at room temperature and then at hot temperature, unless specified otherwise in the device specification. Table 18. MC56F825x/MC56F824x ESD/Latch-up Protection
Characteristic 1 ESD for Human Body Model (HBM) ESD for Machine Model (MM) ESD for Charge Device Model (CDM) Latch-up current at TA = 85 oC (ILAT)
1
Min 2000 200 750 100
Typ -- -- --
Max -- -- --
Unit V V V mA
Parameter is achieved by design characterization on a small sample size from typical devices under typical conditions, unless otherwise noted
7.4
Thermal Characteristics
This section provides information about operating temperature range, power dissipation, and package thermal resistance. Power dissipation on I/O pins is usually small compared to power dissipation in on-chip logic and voltage regulator circuits, and it is user-determined rather than being controlled by the device design. To account for PI/O in power calculations, determine the difference between actual pin voltage and VSS or VDD and multiply by the pin current for each I/O pin. Except in cases of unusually high pin current (heavy loads), the difference between pin voltage and VSS or VDD is very small. Table 19. 44LQFP Package Thermal Characteristics
Characteristic Junction to ambient Natural convection Junction to ambient Natural convection Junction to ambient (@200 ft/min) Junction to ambient (@200 ft/min) Junction to board Junction to case Junction to package top Natural convection Comments Single layer board (1s) Four layer board (2s2p) Single layer board (1s) Four layer board (2s2p) Symbol RJA RJMA RJMA RJMA RJB RJC JT Value (LQFP) 70 48 57 42 30 13 2 Unit C/W C/W C/W C/W C/W C/W C/W
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 50 Freescale Semiconductor
Specifications
Table 20. 48LQFP Package Thermal Characteristics
Characteristic Junction to ambient Natural convection Junction to ambient Natural convection Junction to ambient (@200 ft/min) Junction to ambient (@200 ft/min) Junction to board Junction to case Junction to package top Natural Convection Comments Single layer board (1s) Four layer board (2s2p) Single layer board (1s) Four layer board (2s2p) Symbol RJA RJMA RJMA RJMA RJB RJC JT Value (LQFP) 67 48 60 44 24 15 2 Unit C/W C/W C/W C/W C/W C/W C/W
Table 21. 64LQFP Package Thermal Characteristics
Characteristic Junction to ambient Natural convection Junction to ambient Natural convection Junction to ambient (@200 ft/min) Junction to ambient (@200 ft/min) Junction to board Junction to case Junction to package top Natural convection Comments Single layer board (1s) Four layer board (2s2p) Single layer board (1s) Four layer board (2s2p) Symbol RJA RJMA RJMA RJMA RJB RJC JT Value (LQFP) 67 48 55 42 31 14 3 Unit C/W C/W C/W C/W C/W C/W C/W
NOTE
Junction-to-ambient thermal resistance determined per JEDEC JESD51-3 and JESD51-6. Thermal test board meets JEDEC specification for this package. Junction-to-board thermal resistance determined per JEDEC JESD51-8. Thermal test board meets JEDEC specification for the specified package. Junction-to-case at the top of the package determined using MIL-STD 883 Method 1012.1. The cold plate temperature is used for the case temperature. Reported value includes the thermal resistance of the interface layer. Thermal characterization parameter indicating the temperature difference between the package top and the junction temperature per JEDEC JESD51-2. When Greek letters are not available, the thermal characterization parameter is written as Psi-JT.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 51
Specifications
Junction temperature is a function of die size, on-chip power dissipation, package thermal resistance, mounting site (board) temperature, ambient temperature, air flow, power dissipation of other components on the board, and board thermal resistance. See Section 8.1, "Thermal Design Considerations," for more detail on thermal design considerations.
7.5
Recommended Operating Conditions
Table 22. Recommended Operating Conditions (VREFLx = 0 V, VSSA = 0 V, VSS = 0 V)
Characteristic Symbol VDD, VDDA VREFHx VDD VSS FSYSCLK 0.001 0 VIH VIL VIHOSC VILOSC RLD CLD IOH Pin Groups 1, 2 Pin Groups 1, 2 Pin Group 4 Pin Group 4 Pin Group 5 Pin Group 5 Pin Group 1 Pin Group 1 Pin Groups 1, 2 Pin Groups 1, 2 -- -- -- -- -40 TA = -40C to 125C TJ <= 85C avg TJ <= 85C avg 10,000 15 20 -- 2.0 -0.3 2.0 -0.3 3K 400 -4 -8 4 8 105 -- -- -- 60 60 5.5 0.8 VDD + 0.3 0.8 MHz V V V V pf mA Notes Min 3 3.0 -0.1 -0.1 0 0 Typ 3.3 Max 3.6 VDDA 0.1 0.1 Unit V V V V
This section contains information about recommended operating conditions.
Supply voltage ADC Reference Voltage High Voltage difference VDD to VDDA Voltage difference VSS to VSSA Device Clock Frequency Using relaxation oscillator Using external clock source Input Voltage High (digital inputs) Input Voltage Low (digital inputs) Oscillator Input Voltage High XTAL driven by an external clock source Oscillator Input Voltage Low DAC Output Load Resistance DAC Output Load Capacitance Output Source Current High at VOH min.)1 When programmed for low drive strength When programmed for high drive strength Output Source Current Low (at VOL max.)1 When programmed for low drive strength When programmed for high drive strength Ambient Operating Temperature (Extended Industrial) Flash Endurance (Program Erase Cycles) Flash Data Retention Flash Data Retention with <100 Program/Erase Cycles
IOL
mA C cycles years years
TA NF TR tFLRET
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 52 Freescale Semiconductor
Specifications
1
Total chip source or sink current cannot exceed 75 mA
Default Mode Pin Group 1: GPIO, TDI, TDO, TMS, TCK Pin Group 2: RESET, GPIOA7 Pin Group 3: ADC and Comparator Analog Inputs Pin Group 4: XTAL, EXTAL Pin Group 5: DAC analog output
7.6
DC Electrical Characteristics
This section includes information about power supply requirements and I/O pin characteristics.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 53
Specifications
Table 23. DC Electrical Characteristics at Recommended Operating Conditions
Characteristic Output Voltage High Output Voltage Low Digital Input Current High (a) pull-up enabled or disabled Comparator Input Current High Oscillator Input Current High Digital Input Current Low pull-up enabled pull-up disabled
1
Symbol VOH VOL IIH IIHC IIHOSC IIL
Notes Pin Group 1 Pin Groups 1, 2 Pin Groups 1, 2 Pin Group 3 Pin Group 3 Pin Groups 1, 2
Min 2.4 -- -- -- -- -15 --
Typ -- -- 0 0 0 -30 0 110 0 0 --
Max -- 0.4 +/- 2.5 +/- 2 +/- 2 -60 +/- 2.5 220 +/- 2 +/- 2 Typically VDDA - 40 mV +/- 2.5 -- -- --
Unit V V A A A A
Test Conditions IOH = IOHmax IOL = IOLmax VIN = 2.4 V to 5.5 V VIN = VDDA VIN = VDDA VIN = 0 V
Internal Pull-Up Resistance Comparator Input Current Low Oscillator Input Current Low DAC Output Voltage Range
RPull-Up IILC IILOSC VDAC Pin Group 3 Pin Group 3 Pin Group 5
60 -- -- Typically VSSA + 40 mV -- -- -- --
k A A V
-- VIN = 0 V VIN = 0 V --
Output Current 1 High Impedance State Schmitt Trigger Input Hysteresis Input Capacitance Output Capacitance
1
IOZ VHYS CIN COUT
Pin Groups 1, 2 Pin Groups 1, 2
0 0.35 10 10
A V pF pF
-- -- -- --
See Figure 14.
Default Mode Pin Group 1: GPIO, TDI, TDO, TMS, TCK Pin Group 2: RESET, GPIOA7 Pin Group 3: ADC and Comparator Analog Inputs Pin Group 4: XTAL, EXTAL Pin Group 5: DAC Analog Output
2.0 0.0 - 2.0 A - 4.0 - 6.0 - 8.0 - 10.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Volt Figure 14. IIN/IOZ versus VIN (Typical; Pull-Up Disabled) 3.5 4.0 4.5 5.0 5.5 6.0
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 54 Freescale Semiconductor
Specifications
7.7
Supply Current Characteristics
The following table specifies supply current characteristics. Table 24. Current Consumption
Typical @ 3.3 V 25C (mA) IDD1 RUN 60 MHz device clock Relaxation oscillator on PLL powered on Continuous MAC instructions with fetches from program flash memory All peripheral modules enabled; TMRs and SCIs using 1X Clock ADC/DAC powered on and clocked Comparator powered on 60 MHz device clock Relaxation oscillator on PLL powered on Processor core in WAIT state All peripheral modules enabled; TMRs and SCIs using 1X Clock ADC/DAC/comparator powered off 4 MHz device clock Relaxation oscillator on PLL powered off Processor core in STOP state All peripheral module and core clocks are off ADC/DAC/comparator powered off 100 kHz device clock Relaxation oscillator in standby mode PLL powered off Processor core in STOP state All peripheral module and core clocks are off ADC/DAC/comparator powered off Voltage regulator in standby mode Device clock is off Relaxation oscillator powered off PLL powered off Processor core in STOP state All peripheral module and core clocks are off ADC /DAC/comparator powered off Voltage regulator in standby mode 92 IDDA 38 Maximum @ 3.6 V 105C,125C (mA) IDD1 97 IDDA 44
Mode
Conditions
WAIT
49
4.5
53
5.5
STOP
8.0
3.6
9.2
4.9
STANDBY > STOP
0.76
0
3.0
0
POWERDOWN
0.66
0
2.0
0
1
No output switching All ports configured as inputs All inputs low No DC loads
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 55
Specifications
7.8
Power-On Reset, Low Voltage Detection Specification
Table 25. Power-On Reset and Low-Voltage Detection Parameters Characteristic
Low-Voltage Interrupt for 3.3 V supply1 Low-Voltage Interrupt for 2.5 V supply2 Low-Voltage Interrupt Recovery Hysteresis Power-On Reset Threshold3 Brown-Out Reset Threshold4
1 2
Symbol
VLVI27 VLVI21 VEIH POR BOR
Min 2.6 -- -- 2.6 --
Typ 2.7 2.18 50 2.7 1.8
Max 2.8 -- -- 2.8 1.9
Unit V V mV V V
When VDD drops below LVI27, an interrupt is generated. When VDD drops below LVI21, an interrupt is generated. 3 While power is ramping up, this signal remains active for as long as the internal 2.5 V is below 2.18 V or the 3.3 V VDD voltage is below 2.7 V, no matter how long the ramp-up rate is. The internally regulated voltage is typically 100 mV less than VDD during ramp-up until 2.5 V is reached, at which time it self-regulates. 4 Brown-Out Reset occurs whenever the internally regulated 2.5 V digital supply drops below 1.8 V.
7.9
Voltage Regulator Specifications
The MC56F825x/MC56F824x has two on-chip regulators. One supplies the PLL, crystal oscillator, NanoEdge placement PWM, and relaxation oscillator. It has no external pins and therefore has no external characteristics that must be guaranteed (other than proper operation of the device). The second regulator supplies approximately 2.5 V to the MC56F825x/MC56F824x's core logic. For proper operation, this regulator requires an external capacitor of 2.2 F or greater. Ceramic and tantalum capacitors tend to provide better performance tolerances. The output voltage can be measured directly on the VCAP pin. The specifications for this regulator appear in Table 26. Table 26. Regulator Parameters
Characteristic Short Circuit Current Short Circuit Tolerance (VCAP shorted to ground) Symbol ISS TRSC Min -- -- Typical 900 -- Max 1300 30 Unit mA minutes
7.10
AC Electrical Characteristics
Tests are conducted using the input levels specified in Table 23. Unless otherwise specified, propagation delays are measured from the 50% to the 50% point, and rise and fall times are measured between the 10% and 90% points, as shown in Figure 15.
VIH
Low
High
90% 50% 10%
Input Signal
Midpoint1 Fall Time VIL The midpoint is VIL + (VIH - VIL)/2. Rise Time
Figure 15. Input Signal Measurement References
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 56 Freescale Semiconductor
Specifications
Figure 16 shows the definitions of the following signal states: * * * * Active state, when a bus or signal is driven, and enters a low impedance state Tri-stated, when a bus or signal is placed in a high impedance state Data Valid state, when a signal level has reached VOL or VOH Data Invalid state, when a signal level is in transition between VOL and VOH
Data1 Valid Data1 Data Invalid State Data Active Data2 Valid Data2 Data Three-stated Data Active Data3 Valid Data3
Figure 16. Signal States
7.11
Enhanced Flex PWM Characteristics
Table 27. Enhanced Flex PWM Timing Parameters
Characteristic Symbol -- -- Min -- 1 Typ 521 -- Max -- Unit ps ns
NanoEdge Placement (NEP) step size1 2 3 Delay for fault input activating to PWM output deactivated
1 2
Required: IP bus clock is between 50 MHz and ~60 Mhz in NanoEdge Placement mode. NanoEdge Placement step size is a function of clock frequency only. Temperature and voltage variations do not affect NanoEdge Placement step size. 3 In NanoEdge Placement mode, the minimum pulse edge-to-edge cannot be less than 4 PWM clock cycles.
7.12
Flash Memory Characteristics
Table 28. Flash Timing Parameters
Characteristic Program time1 Erase time
2
Symbol
Min 20 20 100
Typ -- -- --
Max 40 -- --
Unit s ms ms
tprog terase tme
Mass erase time
1 2
Additional overhead is part of the programming sequence. Refer to the device's reference manual for details. Specifies page erase time. There are 1024 bytes per page in the program flash memory.
7.13
External Clock Operation Timing
Table 29. External Clock Operation Timing Requirements1
Characteristic Frequency of operation (external clock driver)2 Clock pulse width3 Symbol fosc tPW Min -- 6.25 Typ -- -- Max 120 -- Unit MHz ns
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 57
Specifications
Table 29. External Clock Operation Timing Requirements1 (continued)
Characteristic External clock input rise time4 External clock input fall time
5
Symbol trise tfall Vih Vil
Min -- -- 0.85VDD --
Typ -- -- -- --
Max 3 3 -- 0.3VDD
Unit ns ns V V
Input high voltage overdrive by an external clock Input high voltage overdrive by an external clock
1 2
Parameters listed are guaranteed by design. See Figure 17 for details on using the recommended connection of an external clock driver. 3 The chip may not function if the high or low pulse width is smaller than 6.25 ns. 4 External clock input rise time is measured from 10% to 90%. 5 External clock input fall time is measured from 90% to 10%.
External Clock
90% 50% 10% tfall tPW tPW trise
VIH 90% 50% 10% VIL
Note: The midpoint is VIL + (VIH - VIL)/2.
Figure 17. External Clock Timing
7.14
Phase Locked Loop Timing
Table 30. Phase Locked Loop Timing
Characteristic PLL input reference frequency1 PLL output frequency2
34
Symbol fref fop tplls JA tjitterpll
Min 4 120 -- -- --
Typ 8 -- 40 -- 350
Max 8 240 100 TBD --
Unit MHz MHz s % ps
PLL lock time
Accumulated jitter using an 8 MHz external crystal as the PLL source5 Cycle-to-cycle jitter
1 2 3 4 5
An externally supplied reference clock should be as free as possible from any phase jitter for the PLL to work correctly. The PLL is optimized for 8 MHz input. The core system clock operates at 1/6 of the PLL output frequency. This is the time required after the PLL is enabled to ensure reliable operation. From powerdown to powerup state at 60 MHz system clock state. This is measured on the CLKO signal (programmed as system clock) over 264 system clocks at 60 MHz system clock frequency and using an 8 MHz oscillator frequency.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 58 Freescale Semiconductor
Specifications
7.15
External Crystal or Resonator Requirement
Table 31. Crystal or Resonator Requirement
Characteristic Frequency of operation Symbol fXOSC Min 4 Typ 8 Max 16 Unit MHz
7.16
Relaxation Oscillator Timing
Table 32. Relaxation Oscillator Timing
Characteristic Relaxation oscillator output frequency1 Normal Mode Standby Mode Relaxation oscillator stabilization time2 Symbol fop Minimum -- 8.05 400 troscs tjitterrosc -- -- -- -- 1 400 3 -- Typical Maximum -- MHz kHz ms ps % % Unit
Cycle-to-cycle jitter. This is measured on the CLKO signal (programmed prescaler_clock) over 264 clocks3 Variation over temperature -40C to 150C4 Variation over temperature 0C to
1 2
+1.5 to -1.5 +3.0 to -3.0 0 to +1 +2.0 to -2.0
105C4
Output frequency after factory trim. This is the time required from standby to normal mode transition. 3 JA is required to meet QSCI requirements. 4 See Figure 18. 8.16
8.08
8 MHz 7.92 7.84 -50 -25 0 25 50 75 Degrees C (Junction) 100 125 150 175
Figure 18. Relaxation Oscillator Temperature Variation (Typical) After Trim
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 59
Specifications
7.17
Reset, Stop, Wait, Mode Select, and Interrupt Timing
NOTE
All address and data buses described here are internal. Table 33. Reset, Stop, Wait, Mode Select, and Interrupt Timing1,2
Characteristic Symbol tRA tIW tRDA tIF Typical Min 4T 2T 96TOSC + 64T -- Typical Max -- -- 97TOSC + 65T 6T Unit ns ns ns ns See Figure -- Figure 19 -- --
Minimum RESET Assertion Duration 3 Minimum GPIO pin Assertion for Interrupt RESET deassertion to First Address Fetch Delay from Interrupt Assertion to Fetch of first instruction (exiting Stop)
1
In the formulas, T = system clock cycle and Tosc = oscillator clock cycle. For an operating frequency of 32 MHz, T = 31.25 ns. At 4 MHz (used coming out of reset and stop modes), T = 250 ns. 2 Parameters listed are guaranteed by design. 3 This minimum number guarantees that a reliable reset occurs.
GPIO pin (Input) tIW
Figure 19. GPIO Interrupt Timing (Negative Edge-Sensitive)
7.18
Queued Serial Peripheral Interface (SPI) Timing
Table 34. SPI Timing1
Characteristic Cycle time Master Slave Enable lead time Master Slave Enable lag time Master Slave Clock (SCK) high time Master Slave Clock (SCK) low time Master Slave Symbol tC 125 62.5 tELD -- 31 tELG -- 125 tCH 50 31 tCL 50 31 -- -- ns ns -- -- ns ns -- -- ns ns Figure 20, Figure 21, Figure 22, Figure 23 Figure 23 -- -- ns ns Figure 23 -- -- ns ns Min Max Unit Refer to Figure 20, Figure 21, Figure 22, Figure 23 Figure 23
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 60 Freescale Semiconductor
Specifications
Table 34. SPI Timing1 (continued)
Characteristic Data set-up time required for inputs Master Slave Data hold time required for inputs Master Slave Access time (time to data active from high-impedance state) Slave Disable time (hold time to high-impedance state) Slave Data valid for outputs Master Slave (after enable edge) Data invalid Master Slave Rise time Master Slave Fall time Master Slave
1
Symbol tDS
Min 20 0
Max -- --
Unit ns ns
Refer to Figure 20, Figure 21, Figure 22, Figure 23 Figure 20, Figure 21, Figure 22, Figure 23 Figure 23
tDH 0 2 tA 4.8 tD 3.7 tDV -- -- tDI 0 0 tR -- -- tF -- -- 9.7 9.0 ns ns 11.5 10.0 ns ns -- -- ns ns 4.5 20.4 ns ns 15.2 ns 15 ns -- -- ns ns
Figure 23 Figure 20, Figure 21, Figure 22, Figure 23 Figure 20, Figure 21, Figure 22, Figure 23 Figure 20, Figure 21, Figure 22, Figure 23 Figure 20, Figure 21, Figure 22, Figure 23
Parameters listed are guaranteed by design.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 61
Specifications
SS (Input)
SS is held high on master tC tR tF
SCLK (CPOL = 0) (Output)
tCL tCH tF tCL
tR
SCLK (CPOL = 1) (Output) tDH tDS MISO (Input) MSB in
tCH Bits 14-1 tDV Bits 14-1 LSB in tDI(ref) Master LSB out tR
tDI MOSI (Output) Master MSB out tF
Figure 20. SPI Master Timing (CPHA = 0)
SS (Input)
tC
SS is held High on master tF tCL tR
SCLK (CPOL = 0) (Output)
tCH tF tCL
SCLK (CPOL = 1) (Output)
tCH tDS tR tDH Bits 14-1 tDV Bits 14- 1 LSB in
MISO (Input) tDV(ref) MOSI (Output)
MSB in tDI Master MSB out tF
tDI(ref) Master LSB out tR
Figure 21. SPI Master Timing (CPHA = 1)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 62 Freescale Semiconductor
Specifications
SS (Input) tC tCL SCLK (CPOL = 0) (Input) tELD SCLK (CPOL = 1) (Input) tA MISO (Output) tDS tDH MOSI (Input) MSB in Bits 14-1 Slave MSB out tR tF tELG
tCH
tCL tCH
tR Bits 14-1 tDV
tF
tD
Slave LSB out tDI LSB in tDI
Figure 22. SPI Slave Timing (CPHA = 0)
SS (Input) tC SCLK (CPOL = 0) (Input) tELD tCL SCLK (CPOL = 1) (Input) tDV tA MISO (Output) tDS tDH MOSI (Input) MSB in Bits 14-1 Slave MSB out tCH tF Bits 14-1 tDV tR tD Slave LSB out tDI LSB in tCL tCH tF tR
tELG
Figure 23. SPI Slave Timing (CPHA = 1)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 63
Specifications
7.19
Queued Serial Communication Interface (SCI) Timing
Table 35. SCI Timing1
Characteristic Baud rate2 RXD pulse width TXD pulse width Symbol BR RXDPW TXDPW Min -- 0.965/BR 0.965/BR LIN Slave Mode Max (fMAX/16) 1.04/BR 1.04/BR Unit Mbps ns ns See Figure -- Figure 24 Figure 25
Deviation of slave node clock from nominal clock rate before synchronization Deviation of slave node clock relative to the master node clock after synchronization Minimum break character length
FTOL_UNSYNCH
-14
14
%
--
FTOL_SYNCH
-2
2
%
--
TBREAK
13 11
-- --
Master node bit periods Slave node bit periods
-- --
1 2
Parameters listed are guaranteed by design. fMAX is the frequency of operation of the SCI in MHz, which can be selected system clock (max. 60 MHz) or 2x system clock (max. 120 MHz) for the MC56F825x/MC56F824x device. RXD SCI receive data pin (Input)
RXDPW
Figure 24. RXD Pulse Width
TXD SCI receive data pin (Input)
TXDPW
Figure 25. TXD Pulse Width
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 64 Freescale Semiconductor
Specifications
7.20
Freescale's Scalable Controller Area Network (MSCAN)
Table 36. MSCAN Timing
Characteristic Baud Rate Bus Wake-up detection Symbol BRCAN TWAKEUP Min -- TIPBUS Max 1 -- Unit Mbps s
MSCAN_RX CAN receive data pin (Input)
TWAKEUP
Figure 26. Bus Wake-up Detection
7.21
Inter-Integrated Circuit Interface (I2C) Timing
Table 37. I2C Timing
Standard Mode Characteristic SCL Clock Frequency Symbol Minimum fSCL tHD; STA tLOW tHIGH tSU; STA tHD; DAT tSU; DAT tr tf tSU; STO tBUF tSP 0 4.0 4.7 4.0 4.7 01 2503 -- -- 4.0 4.7 N/A Maximum 100 -- -- -- -- 3.452 -- 1000 300 -- -- N/A kHz s s s s s ns ns ns s s ns Unit
Hold time (repeated) START condition. After this period, the first clock pulse is generated. LOW period of the SCL clock HIGH period of the SCL clock Set-up time for a repeated START condition Data hold time for I
2C
bus devices
Data set-up time Rise time of SDA and SCL signals Fall time of SDA and SCL signals Set-up time for STOP condition Bus free time between STOP and START condition Pulse width of spikes that must be suppressed by the input filter
1
The master mode I2C deasserts ACK of an address byte simultaneously with the falling edge of SCL. If no slaves acknowledge this address byte, a negative hold time can result, depending on the edge rates of the SDA and SCL lines. 2 The maximum tHD; DAT must be met only if the device does not stretch the LOW period (tLOW) of the SCL signal. 3 A Fast mode I2C bus device can be used in a Standard mode I2C bus system, but the requirement t SU; DAT > = 250 ns must then be met. This is automatically the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA line trmax + tSU; DAT = 1000 + 250 = 1250 ns (according to the Standard mode I2C bus specification) before the SCL line is released.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 65
Specifications
SDA
tSU; DAT tf SCL tLOW tr
tf
tHD; STA
tSP
tr
tBUF
S
tHD; STA
tHD; DAT
tHIGH
tSU; STA
SR
tSU; STO 2
P
S
Figure 27. Timing Definition for Standard Mode Devices on the I C Bus
7.22
JTAG Timing
Table 38. JTAG Timing
Characteristic TCK frequency of operation1 TCK clock pulse width TMS, TDI data set-up time TMS, TDI data hold time TCK low to TDO data valid TCK low to TDO tri-state Symbol fOP tPW tDS tDH tDV tTS Min DC 50 5 5 -- -- Max SYS_CLK/8 -- -- -- 30 30 Unit MHz ns ns ns ns ns See Figure Figure 28 Figure 28 Figure 29 Figure 29 Figure 29 Figure 29
1
TCK frequency of operation must be less than 1/8 the processor rate. 1/fOP tPW VIH TCK (Input) VM = VIL + (VIH - VIL)/2 VM VIL VM tPW
Figure 28. Test Clock Input Timing Diagram
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 66 Freescale Semiconductor
Specifications
TCK (Input) tDS TDI TMS (Input) tDH
Input Data Valid tDV
TDO (Output) tTS TDO (Output)
Output Data Valid
Figure 29. Test Access Port Timing Diagram
7.23
Quad Timer Timing
Table 39. Timer Timing1, 2
Characteristic Timer input period Timer input high/low period Timer output period Timer output high/low period Symbol PIN PINHL POUT POUTHL Min 2T + 6 1T + 3 125 50 Max -- -- -- -- Unit ns ns ns ns See Figure Figure 30 Figure 30 Figure 30 Figure 30
In the formulas listed, T = the clock cycle. For 32 MHz operation, T = 31.25 ns. 2. Parameters listed are guaranteed by design.
1
Timer Inputs PINHL PINHL
PIN
Timer Outputs POUTHL POUTHL
POUT
Figure 30. Timer Timing
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 67
Specifications
7.24
COP Specifications
Table 40. COP Specifications
Parameter Oscillator output frequency Symbol LPFosc IDD Min 500 Typ 1000 TBD Max 1500 Unit Hz nA
Oscillator current consumption in partial power down mode
7.25 Analog-to-Digital Converter (ADC) Parameters
Table 41. ADC Parameters1
Parameter DC Specifications Resolution ADC internal clock Conversion range ADC and VREF power-up time power down mode)
2(from
Symbol RES fADIC RAD tADPU tREFPU IADRUN
Min 12 0.1 VREFL -- --
Typ -- -- -- 13 6
Max 12 15 VREFH -- --
Unit Bits MHz V tAIC cycles3 tAIC cycles3 mA
VREF power-up time (from low power mode) ADC RUN current (Speed Control setting) at 100 kHz ADC clock (Standby Mode) at ADC clock 5 MHz (00) at 5 MHz < ADC clock 12 MHz (01) at 12 MHz < ADC clock 15 MHz (10) Conversion time Sample time
-- -- -- -- -- --
0.6 10 17 27 6 1
-- -- -- -- -- -- tAIC cycles3 tAIC cycles3
tADC tADS
Accuracy (DC or absolute) (gain of 1x, 2x, 4x and fADC 10 MHz) (all data in single-ended mode)4 Integral non-linearity5 (Full input signal range) Differential non-linearity5 Monotonicity Offset Voltage Internal Ref Offset Voltage External Ref Gain Error (transfer gain) ADC Inputs7 (Pin Group 3) Input voltage (external reference) Input voltage (internal reference) Input leakage VREFH current Input injection current Input capacitance
8,
INL DNL VOFFSET VOFFSET EGAIN VADIN VADIN IIA IVREFH per pin IADI CADI
-- -- -- -- --
+/- 3 +/- 0.6 GUARANTEED +/- 8 +/- 8 0.995 to 1.005
+/- 6 +/- 1 +/- 15 +/- 15 1.01 to 0.99
LSB6 LSB5 mV mV --
VREFL VSSA -- -- -- --
-- -- 0 0.001 -- See Figure 31
VREFH VDDA +/- 2 -- 3 --
V V A A mA pF
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 68 Freescale Semiconductor
Specifications
Table 41. ADC Parameters1 (continued)
Parameter Input impedance Symbol XIN Min -- Typ See Figure 31 Max -- Unit Ohms
AC Specifications9 (gain of 1x, 2x, 4x and fADC 10 MHz)4 Signal-to-noise ratio Total Harmonic Distortion Spurious Free Dynamic Range Signal-to-noise plus distortion Effective Number Of Bits
1
SNR THD SFDR SINAD ENOB
-- -- -- -- --
59 64 65 59 9.5
dB dB dB dB Bits
All measurements were made at VDD = 3.3V, VREFH = 3.3V, and VREFL = ground 2 Includes power-up of ADC and VREF
3 4
5 6
ADC clock cycles Speed register setting must be 00 for ADC clock 5 MHz, 01 for 5 MHz < ADC clock 12 MHz, and 10 for ADC clock > 12 MHz
INL and DNL measured from VIN = VREFL to VIN = VREFH LSB = Least Significant Bit = 0.806 mV at x1 gain 7 Pin groups are detailed following Table 17. 8 The current that can be injected or sourced from an unselected ADC signal input without affecting the performance of the ADC 9 ADC PGA gain is x1
7.25.1
Equivalent Circuit for ADC Inputs
Figure 31 illustrates the ADC input circuit during sample and hold. S1 and S2 are always opened/closed at non-overlapping phases and operate at the ADC clock frequency. Equivalent input impedance, when the input is selected, is as follows: (2 x k / ADCClockRate x Cgain ) + 100 ohms + 125 ohms where k = * * 1 for first sample 6 for subsequent samples Eqn. 1
and Cgain is as described in note 4 below.
C1: Single Ended Mode 2XC1: Differential Mode
Analog input
125-ohm ESD resistor
Channel Mux equivalent resistance 100 ohms
S1 C1 S1 S/H C1 S2 S2
1
2
3
S1
S1
(VREFHx - VREFLx ) / 2 C1: Single Ended Mode 2XC1: Differential Mode
1.
Parasitic capacitance due to package, pin-to-pin, and pin-to-package base coupling: 1.8 pF
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 69
Specifications
2. 3. 4. 5.
Parasitic capacitance due to the chip bond pad, ESD protection devices, and signal routing: 2.04 pF 8 pF noise damping capacitor Sampling capacitor at the sample and hold circuit. Capacitor C1 is normally disconnected from the input and is only connected to it at sampling time: Cgain = 1.4 pF for x1 gain, 2.8 pF for x2 gain, and 5.6 pF for x4 gain. S1 and S2 switch phases are non-overlapping and operate at the ADC clock frequency.
S1 S2
Figure 31. Equivalent Circuit for A/D Loading
7.26 Digital-to-Analog Converter (DAC) Parameters
Table 42. DAC Parameters
Parameter DC Specifications Resolution Settling time At output load RLD = 3 K CLD = 400 pf Time from release of PWRDWN signal until DACOUT signal is valid Range of input digital words: 410 to 3891 ($19A - $F33) 5% to 95% of full range Range of input digital words: 410 to 3891 ($19A - $F33) 5% to 95% of full range > 6 sigma monotonicity, < 3.4 ppm non-monotonicity Range of input digital words: 410 to 3891 ($19A - $F33) 5% to 95% of full range Range of input digital words: 410 to 3891 ($19A - $F33) 5% to 95% of full range Within 40 mV of either VREFLX or VREFHX VOFFSET -- tDAPU 12 TBD -- -- 12 2 bits S Conditions/Comments Symbol Min Typ Max Unit
Power-up time
--
--
11
S
Accuracy Integral non-linearity1 INL -- +/- 3 +/- 8.0 LSB2
Differential non-linearity1
DNL
--
+/- 0.8
+/- 1.0
LSB2
Monotonicity Offset error1
guaranteed +/- 25 +/- 40
-- mV
Gain error1
EGAIN
--
+/- .5
+/- 1.5
%
DAC Output Output voltage range AC Specifications Signal-to-noise ratio Spurious free dynamic range Effective number of bits SNR SFDR ENOB -- -- -- TBD TBD -- -- -- -- dB dB Bits VOUT VREFLX +0.04V -- VREFHX - 0.04V V
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 70 Freescale Semiconductor
Specifications
1 2
No guaranteed specification within 5% of VDDA or VSSA LSB = 0.806 mV
7.27
5-Bit Digital-to-Analog Converter (DAC) Parameters
Table 43. 5-Bit DAC Specifications
Parameter Reference Inputs Setup Delay Step size Output Range Symbol Vin tPRGST VSTEP VDACOUT Min VDDA TBD 3Vin/128 Vin/32 Typ -- TBD Vin/32 -- Max VDDA TBD 5Vin/128 Vin Unit mV ns V ns
7.28
HSCMP Specifications
Table 44. HSCMP Specifications
Parameter Analog input voltage Analog input offset voltage1 Analog comparator hysteresis2 Symbol VAIN VAIO VH tDHSN3 tAINIT4 Min VSSA - 0.01 -- -- -- -- Typ -- -- 1 to 16 70 400 Max VDDA + 0.01 40 -- 140 600 Unit V mV mV ns ns
Propagation Delay, high speed mode (EN=1, PMODE=1), Propagation Delay, Low Speed Mode (EN=1, PMODE=0),
1 2
Offset when the degree of hysteresis is set to its minimum value. The range of hysteresis is based on simulation only. This range varies from part to part. 3 Measured with an input waveform that switches 30 mV above and below the reference, to the CMPO output pin. V DDA > VLVI_WARNING => LVI_WARNING NOT ASSERTED. 4 Measured with an input waveform that switches 30 mV above and below the reference, to the CMPO output pin. V DDA > VLVI_WARNING => LVI_WARNING NOT ASSERTED.
7.29
Optimize Power Consumption
See Section 7.7, "Supply Current Characteristics," for a list of IDD requirements for the MC56F825x/MC56F824x. This section provides additional details for optimizing power consumption for a given application. Power consumption is given by the following equation:
Total power = A: internal [static] component
+B: internal [state-dependent] component +C: internal [dynamic] component +D: external [dynamic] component +E: external [static] component
A, the internal [static] component, consists of the DC bias currents for the oscillator, leakage currents, PLL, and voltage references. These sources operate independently of processor state or operating frequency.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 71
Design Considerations
B, the internal [state-dependent] component, reflects the supply current required by certain on-chip resources only when those resources are in use. These resources include RAM, flash memory, and the ADCs. C, the internal [dynamic] component, is classic C*V2*F CMOS power dissipation corresponding to the 56800E core and standard cell logic. D, the external [dynamic] component, reflects power dissipated on-chip as a result of capacitive loading on the external pins of the chip. This component is also commonly described as C*V2*F, although simulations on two of the I/O cell types used on the 56800E reveal that the power-versus-load curve does have a non-zero Y-intercept. Table 45. I/O Loading Coefficients at 10 MHz
Intercept 8 mA drive 4 mA drive 1.3 1.15 mW Slope 0.11 mW/pF 0.11 mW/pF
Power due to capacitive loading on output pins is (first order) a function of the capacitive load and frequency at which the outputs change. Table 45 provides coefficients for calculating power dissipated in the I/O cells as a function of capacitive load. In these cases, Equation 2 applies. TotalPower = ((Intercept + Slope*Cload)*frequency/10 MHz) Eqn. 2
where: -- Summation is performed over all output pins with capacitive loads. -- Total power is expressed in mW. -- Cload is expressed in pF. Because of the low duty cycle on most device pins, power dissipation due to capacitive loads was found to be fairly low when averaged over a period of time. E, the external [static] component, reflects the effects of placing resistive loads on the outputs of the device. Total all V2/R or IV to arrive at the resistive load contribution to power. Assume V = 0.5 for the purposes of these rough calculations. For instance, if there is a total of nine PWM outputs driving 10 mA into LEDs, then P = 8*0.5*0.01 = 40 mW. In previous discussions, power consumption due to parasites associated with pure input pins is ignored and assumed to be negligible.
8
8.1
Design Considerations
Thermal Design Considerations
TJ = TA + (RJ x PD) Eqn. 3
An estimation of the chip junction temperature, TJ, can be obtained from Equation 3.
where:
TA RJ PD = Ambient temperature for the package (oC) = Junction-to-ambient thermal resistance (oC/W) = Power dissipation in the package (W)
The junction-to-ambient thermal resistance is an industry-standard value that provides a quick and easy estimation of thermal performance. Unfortunately, there are two values in common usage: the value determined on a single-layer board and the value obtained on a board with two planes. For packages such as the PBGA, these values can be different by a factor of two. Which
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 72 Freescale Semiconductor
Design Considerations
value is closer to the application depends on the power dissipated by other components on the board. The value obtained on a single layer board is appropriate for the tightly packed printed circuit board. The value obtained on the board with the internal planes is usually appropriate if the board has low-power dissipation and the components are well separated. When a heat sink is used, the thermal resistance is expressed as the sum of a junction-to-case thermal resistance and a case-to-ambient thermal resistance. RJA = RJC + RCA where:
RJA RJC RCA = = = Package junction-to-ambient thermal resistance (C/W) Package junction-to-case thermal resistance (C/W) Package case-to-ambient thermal resistance (C/W)
Eqn. 4
RJC is device related and cannot be adjusted. You control the thermal environment to change the case to ambient thermal resistance, RCA. For instance, you can change the size of the heat sink, the air flow around the device, the interface material, the mounting arrangement on printed circuit board, or the thermal dissipation on the printed circuit board surrounding the device. To determine the junction temperature of the device in the application when heat sinks are not used, the thermal characterization parameter (JT) can be used to determine the junction temperature with a measurement of the temperature at the top center of the package case. Refer to Equation 5. TJ = TT + (JT x PD) where:
TT JT PD = Thermocouple temperature on top of package (oC) = Thermal characterization parameter (oC/W) = Power dissipation in package (W)
Eqn. 5
The thermal characterization parameter is measured per JESD51-2 specification using a 40-gauge type T thermocouple epoxied to the top center of the package case. The thermocouple should be positioned so that the thermocouple junction rests on the package. A small amount of epoxy is placed over the thermocouple junction and over about 1 mm of wire extending from the junction. The thermocouple wire is placed flat against the package case to avoid measurement errors caused by cooling effects of the thermocouple wire. When heat sink is used, the junction temperature is determined from a thermocouple inserted at the interface between the case of the package and the interface material. A clearance slot or hole is normally required in the heat sink. Minimizing the size of the clearance is important to minimize the change in thermal performance caused by removing part of the thermal interface to the heat sink. Because of the experimental difficulties with this technique, many engineers measure the heat sink temperature and then back-calculate the case temperature using a separate measurement of the thermal resistance of the interface. From this case temperature, the junction temperature is determined from the junction-to-case thermal resistance.
8.2
Electrical Design Considerations
CAUTION
This device contains protective circuitry to guard against damage due to high static voltage or electrical fields. However, take normal precautions to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. Reliability of operation is enhanced if unused inputs are tied to an appropriate voltage level.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 73
Ordering Information
Use the following list of considerations to assure correct operation of the MC56F825x/MC56F824x: * * Provide a low-impedance path from the board power supply to each VDD pin on the MC56F825x/MC56F824x and from the board ground to each VSS (GND) pin. The minimum bypass requirement is to place 0.01-0.1 F capacitors positioned as near as possible to the package supply pins. The recommended bypass configuration is to place one bypass capacitor on each of the VDD/VSS pairs, including VDDA/VSSA. Ceramic and tantalum capacitors tend to provide better tolerances. Ensure that capacitor leads and associated printed circuit traces that connect to the chip VDD and VSS (GND) pins are as short as possible. Bypass the VDD and VSS with approximately 100 F, plus the number of 0.1 F ceramic capacitors. PCB trace lengths should be minimal for high-frequency signals. Consider all device loads as well as parasitic capacitance due to PCB traces when calculating capacitance. This is especially critical in systems with higher capacitive loads that could create higher transient currents in the VDD and VSS circuits. Take special care to minimize noise levels on the VREF, VDDA, and VSSA pins. Using separate power planes for VDD and VDDA and separate ground planes for VSS and VSSA is recommended. Connect the separate analog and digital power and ground planes as near as possible to power supply outputs. If an analog circuit and digital circuit are powered by the same power supply, you should connect a small inductor or ferrite bead in serial with VDDA and VSSA traces. Physically separate analog components from noisy digital components by ground planes. Do not place an analog trace in parallel with digital traces. Place an analog ground trace around an analog signal trace to isolate it from digital traces. Because the flash memory is programmed through the JTAG/EOnCE port, SPI, SCI, or I2C, the designer should provide an interface to this port if in-circuit flash programming is desired. If desired, connect an external RC circuit to the RESET pin. The resistor value should be in the range of 4.7 k to 10 k; the capacitor value should be in the range of 0.22 F to 4.7 F. Configuring the RESET pin to GPIO output in normal operation in a high-noise environment may help to improve the performance of noise transient immunity. Add a 2.2 k external pullup on the TMS pin of the JTAG port to keep EOnCE in a restate during normal operation if a JTAG converter is not present. During reset and after reset but before I/O initialization, all I/O pins are at input state with internal pullup enabled. The typical value of internal pullup is around 110 k. These internal pullups can be disabled by software. To eliminate PCB trace impedance effect, each ADC input should have an RC filter of no less than 33 pF 10 . External clamp diodes on analog input pins are recommended.
* * * *
* *
* * * * * * * *
9
Ordering Information
Table 46 lists the pertinent information needed to place an order. Consult a Freescale Semiconductor sales office or authorized distributor to determine availability and to order devices.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 74 Freescale Semiconductor
Ordering Information
Table 46. MC56F825x/MC56F824x Ordering Information
Device MC56F8245 MC56F8246 MC56F8247 MC56F8255 MC56F8256 MC56F8257
1
Supply Voltage 3.0-3.6 V 3.0-3.6 V 3.0-3.6 V 3.0-3.6 V 3.0-3.6 V 3.0-3.6 V
Package Type Low-Profile Quad Flat Pack (LQFP) Low-Profile Quad Flat Pack (LQFP) Low-Profile Quad Flat Pack (LQFP) Low-Profile Quad Flat Pack (LQFP) Low-Profile Quad Flat Pack (LQFP) Low-Profile Quad Flat Pack (LQFP)
Pin Count 44 48 64 44 48 64
Frequency (MHz) 60 60 60 60 60 60
Ambient Temperature Range -40 to + 105 C -40 to + 125 C -40 to + 105 C -40 to + 125 C -40 to + 105 C -40 to + 125 C -40 to + 105 C -40 to + 125 C -40 to + 105 C -40 to + 125 C -40 to + 105 C -40 to + 125 C
Order Number1 MC56F8245VLD MC56F8245MLD MC56F8246VLF MC56F8246MLF MC56F8247VLH MC56F8247MLH MC56F8255VLD MC56F8255MLD MC56F8256VLF MC56F8256MLF MC56F8257VLH MC56F8257MLH
All of the packages are RoHS compliant.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 75
Package Mechanical Outline Drawings
10
Package Mechanical Outline Drawings
To ensure you have the latest version of a package drawing, go to www.freescale.com and perform a keyword search for the drawing's document number (shown in the following sections for each package).
10.1
44-pin LQFP
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 76 Freescale Semiconductor
Package Mechanical Outline Drawings
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 77
Package Mechanical Outline Drawings
Figure 32. 56F8245 and 56F8255 44-Pin LQFP Mechanical Information
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 78 Freescale Semiconductor
Package Mechanical Outline Drawings
10.2
48-pin LQFP
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 79
Package Mechanical Outline Drawings
Figure 33. 56F8246 and 56F8256 48-Pin LQFP Mechanical Information
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 80 Freescale Semiconductor
Package Mechanical Outline Drawings
10.3
64-pin LQFP
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 81
Package Mechanical Outline Drawings
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 82 Freescale Semiconductor
Package Mechanical Outline Drawings
Figure 34. 56F8247 and 56F8257 64-Pin LQFP Mechanical Information
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 83
Revision History
11
Revision History
Table 47. Revision History
Table 47 summarizes changes to the document since the release of the previous version.
Revision
Date
Description Table 46 on page 75: Added "M" orderable part numbers
Rev. 3
2011-04-22 Table 24 on page 55: Updated data for run, wait, and stop modes, and added data for standby and powerdown modes Table 23 on page 54: Added minimum and maximum values for Internal Pull-Up Resistance Renumbered sections: Section 9 (was 8.3), Section 10 (was 9), Section 11 (was 10)
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 84 Freescale Semiconductor
Interrupt Vector Table
Appendix A Interrupt Vector Table
Table 48 provides the MC56F825x/MC56F824x's reset and interrupt priority structure, including on-chip peripherals. The table is organized with higher-priority vectors at the top and lower-priority interrupts lower in the table. As indicated, the priority of an interrupt can be assigned to different levels, allowing some control over interrupt priorities. All level 3 interrupts are serviced before level 2 and so on. For a selected priority level, the lowest vector number has the highest priority. The location of the vector table is determined by the vector base address (VBA). See the device's reference manual for details. By default, the chip reset address and COP reset address correspond to vector 0 and 1 of the interrupt vector table. In these cases, the first two locations in the vector table must contain branch or JMP instructions. All other entries must contain JSR instructions. Table 48. Interrupt Vector Table Contents1
Peripheral Core Core Core Core Core Core Core Core Core Core Core Core Core Core PS OCCS TMRB3 TMRB2 TMRB1 TMRB0 ADCB_CC ADCA_CC ADC_Err CAN CAN 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 3 3 3 1-3 1-3 1-3 1-3 1-3 2 1 0 1-3 1-3 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 Vector Number Priority Level Vector Base Address + P:0x00 P:0x02 P:0x04 P:0x06 P:0x08 P:0x0A P:0x0C P:0x0E P:0x10 P:0x12 P:0x14 P:0x16 P:0x18 P:0x1A P:0x1C P:0x1E P:0x20 P:0x22 P:0x24 P:0x26 P:0x28 P:0x2A P:0x2C P:0x2E P:0x30 Interrupt Function Reserved for Reset Overlay2 Reserved for COP Reset Overlay Illegal Instruction SW Interrupt 3 HW Stack Overflow Misaligned Long Word Access EOnCE Step Counter EOnCE Breakpoint Unit EOnCE Trace Buffer EOnCE Transmit Register Empty EOnCE Receive Register Full SW Interrupt 2 SW Interrupt 1 SW Interrupt 0 Low-Voltage Interrupt Phase-Locked Loop Loss of Locks and Loss of Clock Quad Timer B, Channel 3 Interrupt Quad Timer B, Channel 2Interrupt Quad Timer B, Channel 1Interrupt Quad Timer B, Channel 0 Interrupt ADCB Conversion Complete Interrupt ADCA Conversion Complete Interrupt ADC Zero crossing, Low limit, and high limit interrupt CAN Transmit Interrupt CAN Receive Interrupt
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 85
Interrupt Vector Table
Table 48. Interrupt Vector Table Contents1 (continued)
Peripheral CAN CAN QSCI1 QSCI1 QSCI1 QSCI1 QSCI0 QSCI0 QSCI0 QSCI0 QSPI QSPI I2C1 I2C0 TMRA3 TMRA2 TMRA1 TMRA0 eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM eFlexPWM FM FM FM CMPC CMPB Vector Number 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Priority Level 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0-2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0 -2 0-2 0-2 Vector Base Address + P:0x32 P:0x34 P:0x36 P:0x38 P:0x3A P:0x3C P:0x3E P:0x40 P:0x42 P:0x44 P:0x46 P:0x48 P:0x4A P:0x4C P:0x4E P:0x50 P:0x52 P:0x54 P:0x56 P:0x58 P:0x5A P:0x5C P:0x5E P:0x60 P:0x62 P:0x64 P:0x66 P:0x68 P:0x6A P:0x6C P:0x6E P:0x70 P:0x72 P:0x74 Interrupt Function CAN Error Interrupt CAN Wake-Up Interrupt QSCI1 Receiver Overrun/Errors QSCI1 Receiver Full QSCI1 Transmitter Idle QSCI1 Transmitter Empty QSCI0 Receiver Overrun/Errors QSCI0 Receiver Full QSCI0 Transmitter Idle QSCI0 Transmitter Empty SPI Transmitter Empty SPI Receiver Full I2C1 Interrupt I2C0 Interrupt Quad Timer A, Channel 3 Interrupt Quad Timer A, Channel 2 Interrupt Quad Timer A, Channel 1 Interrupt Quad Timer A, Channel 0 Interrupt PWM Fault PWM Reload Error PWM Sub-Module 3 Reload PWM Sub-Module 3 input capture PWM Sub-Module 3 Compare PWM Sub-Module 2 Reload PWM Sub-Module 2 Compare PWM Sub-Module 1 Reload PWM Sub-Module 1 Compare PWM Sub-Module 0 Reload PWM Sub-Module 0Compare Flash Memory Access Error Flash Memory Programming Command Complete Flash Memory Buffer Empty Request Comparator C Rising/Falling Flag Comparator B Rising/Falling Flag
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 86 Freescale Semiconductor
Interrupt Vector Table
Table 48. Interrupt Vector Table Contents1 (continued)
Peripheral CMPA GPIOF GPIOE GPIOD GPIOC GPIOB GPIOA SWILP
1
Vector Number 59 60 61 62 63 64 65 66
Priority Level 0-2 0-2 0-2 0-2 0-2 0-2 0-2 -1
Vector Base Address + P:0x76 P:0x78 P:0x7A P:0x7C P:0x7E P:0x80 P:0x82 P:0x84
Interrupt Function Comparator A Rising/Falling Flag GPIOF Interrupt GPIOE Interrupt GPIOD Interrupt GPIOC Interrupt GPIOB Interrupt GPIOA Interrupt SW Interrupt Low Priority
Two words are allocated for each entry in the vector table. This does not allow the full address range to be referenced from the vector table, providing only 19 bits of address. 2 If the VBA is set to the reset value, the first two locations of the vector table overlay the chip reset addresses because the reset address would match the base of this vector table.
MC56F825x/MC56F824x Digital Signal Controller, Rev. 3 Freescale Semiconductor 87
How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com
Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-RoHS-compliant and/or non-Pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale's Environmental Products program, go to http://www.freescale.com/epp. Freescale, the Freescale logo, and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Processor Expert is a trademark of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) Freescale Semiconductor, Inc. 2009-2011. All rights reserved.
Document Number: MC56F825X
Rev. 3 04/2011


▲Up To Search▲   

 
Price & Availability of MC56F8257

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X